Rename alert -> notification

This commit is contained in:
uu59 2014-11-20 17:12:08 +09:00
parent 389818fdeb
commit 0c940ee666
3 changed files with 4 additions and 4 deletions

View File

@ -4,10 +4,10 @@
var POLLING_URL = "/polling/alerts"; var POLLING_URL = "/polling/alerts";
$(function(){ $(function(){
if($('#alert').length === 0) return; if($('#vue-notification').length === 0) return;
var alert = new Vue({ var alert = new Vue({
el: "#alert", el: "#vue-notification",
data: { data: {
"alerts": [] "alerts": []
}, },

View File

@ -40,7 +40,7 @@ label {
#alert { #vue-notification {
.nothing { .nothing {
padding: 1em 0; padding: 1em 0;
} }

View File

@ -1,5 +1,5 @@
<!-- vue.js --> <!-- vue.js -->
<li class="dropdown" id="alert"> <li class="dropdown" id="vue-notification">
<a <a
class="dropdown-toggle" class="dropdown-toggle"
data-toggle="dropdown" href="#" data-toggle="dropdown" href="#"