##// END OF EJS Templates
Don't query for body in moderation menu
neko259 -
r2037:2120750d default
parent child Browse files
Show More
@@ -58,8 +58,6 b''
58 selector: '#{{ post.id }} .moderation-menu',
58 selector: '#{{ post.id }} .moderation-menu',
59 trigger: 'left',
59 trigger: 'left',
60 build: function($trigger, e) {
60 build: function($trigger, e) {
61 var body = $('body');
62
63 var canEditPost = PERMS['change_post'];
61 var canEditPost = PERMS['change_post'];
64 var canDeletePost = PERMS['delete_post'];
62 var canDeletePost = PERMS['delete_post'];
65 var canEditThread = PERMS['change_thread'];
63 var canEditThread = PERMS['change_thread'];
General Comments 0
You need to be logged in to leave comments. Login now