Browse Source

Fix menu brokenness if user post deletion disabled

pull/47/head^2
8chan czaks 9 years ago
parent
commit
7cf3fccda5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      js/fix-report-delete-submit.js

+ 1
- 1
js/fix-report-delete-submit.js View File

@@ -10,9 +10,9 @@

if (active_page == 'thread' || active_page == 'index') {
$(document).on('menu_ready', function(){
var Menu = window.Menu;
if ($('#delete-fields #password').length) {
var Menu = window.Menu;
Menu.add_item("delete_post_menu", _("Delete post"));
Menu.add_item("delete_file_menu", _("Delete file"));
Menu.onclick(function(e, $buf) {


Loading…
Cancel
Save