\r
<script type="text/html" id="tmpl_userbox">\r
<div class="userbox">\r
- <a class="if_op op"><i class="icon-star"></i><%= op %></a>\r
- <a class="if_op deop"><i class="icon-star-empty"></i><%= de_op %></a>\r
- <a class="if_op voice"><i class="icon-volume-up"></i><%= voice %></a>\r
- <a class="if_op devoice"><i class="icon-volume-off"></i><%= de_voice %></a>\r
- <a class="if_op kick"><i class="icon-remove"></i><%= kick %></a>\r
- <a class="if_op ban"><i class="icon-ban-circle"></i><%= ban %></a>\r
-\r
- <a class="query"><i class="icon-comment"></i><%= message %></a>\r
- <a class="info"><i class="icon-info-sign"></i><%= info %></a>\r
- <a class="slap"><i class="icon-user-md"></i><%= slap %></a>\r
+ <a class="close_menu if_op op"><i class="icon-star"></i><%= op %></a>\r
+ <a class="close_menu if_op deop"><i class="icon-star-empty"></i><%= de_op %></a>\r
+ <a class="close_menu if_op voice"><i class="icon-volume-up"></i><%= voice %></a>\r
+ <a class="close_menu if_op devoice"><i class="icon-volume-off"></i><%= de_voice %></a>\r
+ <a class="close_menu if_op kick"><i class="icon-remove"></i><%= kick %></a>\r
+ <a class="close_menu if_op ban"><i class="icon-ban-circle"></i><%= ban %></a>\r
+\r
+ <a class="close_menu query"><i class="icon-comment"></i><%= message %></a>\r
+ <a class="close_menu info"><i class="icon-info-sign"></i><%= info %></a>\r
+ <a class="close_menu slap"><i class="icon-user-md"></i><%= slap %></a>\r
</div>\r
</script>\r
\r
_kiwi.view.MenuBox = Backbone.View.extend({
events: {
- 'click .ui_menu_foot .close, a': 'dispose'
+ 'click .ui_menu_foot .close, a.close_menu': 'dispose'
},
initialize: function(title) {