summaryrefslogtreecommitdiff
path: root/themes/default/js/ui.init.js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/js/ui.init.js')
-rw-r--r--themes/default/js/ui.init.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/themes/default/js/ui.init.js b/themes/default/js/ui.init.js
index 006d74bb..949933e9 100644
--- a/themes/default/js/ui.init.js
+++ b/themes/default/js/ui.init.js
@@ -112,18 +112,6 @@ $(document).ready(function() {
$(this).gallery_context_menu();
});
- // Collapse comments form, insert button to expand
- if ($("#gAddCommentForm").length) {
- var showCommentForm = '<a href="#add_comment_form"'
- + ' class="showCommentForm gButtonLink ui-corner-all ui-icon-left ui-state-default right">'
- + '<span class="ui-icon ui-icon-comment"></span>' + ADD_A_COMMENT + '</a>';
- $("#gAddCommentForm").hide();
- $("#gComments").prepend(showCommentForm);
- $(".showCommentForm").click(function(){
- $("#gAddCommentForm").show(1000);
- });
- }
-
// Add scroll effect for links to named anchors
$.localScroll({
queue: true,