diff --git a/files/assets/js/core.js b/files/assets/js/core.js
index 996fe946f..82d68e342 100644
--- a/files/assets/js/core.js
+++ b/files/assets/js/core.js
@@ -108,7 +108,8 @@ function postToastSwitch(t, url, button1, button2, cls, extraActionsOnSuccess, m
catch (e) {}
}
}
- if (extraActionsOnSuccess) extraActionsOnSuccess(xhr);
+ if (typeof extraActionsOnSuccess == 'function')
+ extraActionsOnSuccess(xhr);
}
, method);
}
diff --git a/files/templates/admin/alts.html b/files/templates/admin/alts.html
index c984c7276..b1e264e80 100644
--- a/files/templates/admin/alts.html
+++ b/files/templates/admin/alts.html
@@ -40,8 +40,8 @@
{{user._alt_created_utc|timestamp}} |
{{user._is_manual}} |
-
-
+
+
Alts
{% if v.admin_level >= PERMS['VIEW_ALT_VOTES'] %}
Alt Votes
diff --git a/files/templates/post_actions.html b/files/templates/post_actions.html
index 2c889beef..feab586b1 100644
--- a/files/templates/post_actions.html
+++ b/files/templates/post_actions.html
@@ -44,8 +44,8 @@
API App
{% endif %}
{% if v.can_edit(p) %}
-
-
+
+
{% endif %}
{% if v.admin_level >= PERMS['POST_COMMENT_DISTINGUISH'] %}
diff --git a/files/templates/post_admin_actions_mobile.html b/files/templates/post_admin_actions_mobile.html
index e85742508..db41ebf14 100644
--- a/files/templates/post_admin_actions_mobile.html
+++ b/files/templates/post_admin_actions_mobile.html
@@ -18,8 +18,8 @@
{% endif %}
{% if v.can_edit(p) %}
-
-
+
+
{% endif %}
{% if v.admin_level >= PERMS['POST_COMMENT_DISTINGUISH'] and (v.id == p.author.id or v.admin_level >= PERMS['POST_COMMENT_MODERATION']) %}
|