mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 23:39:11 -05:00
Reorder button indexes.
This commit is contained in:
@@ -1137,12 +1137,12 @@ function big_mod_action(elem, dir) {
|
||||
|
||||
elem.siblings(".status-msg").hide();
|
||||
if (dir == -1) {
|
||||
$.request("remove", d, null, true);
|
||||
elem.siblings(".spammed").show();
|
||||
} else if (dir == -2) {
|
||||
d.spam = false;
|
||||
$.request("remove", d, null, true);
|
||||
elem.siblings(".removed").show();
|
||||
} else if (dir == -2) {
|
||||
$.request("remove", d, null, true);
|
||||
elem.siblings(".spammed").show();
|
||||
} else if (dir == 1) {
|
||||
$.request("approve", d, null, true);
|
||||
elem.siblings(".approved").show();
|
||||
|
||||
@@ -126,9 +126,9 @@
|
||||
"big_mod_action", -1, "negative")}
|
||||
%else:
|
||||
${pretty_button(_("spam %(obj)s") % dict(obj=kind),
|
||||
"big_mod_action", -1, "negative")}
|
||||
${pretty_button(_("remove %(obj)s") % dict(obj=kind),
|
||||
"big_mod_action", -2, "negative")}
|
||||
${pretty_button(_("remove %(obj)s") % dict(obj=kind),
|
||||
"big_mod_action", -1, "negative")}
|
||||
%endif
|
||||
|
||||
%if getattr(thing, "approval_checkmark", None):
|
||||
|
||||
Reference in New Issue
Block a user