aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/js
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/js')
-rw-r--r--ratatoeskr/js/backend.js32
1 files changed, 16 insertions, 16 deletions
diff --git a/ratatoeskr/js/backend.js b/ratatoeskr/js/backend.js
index d131bfe..8b60c2d 100644
--- a/ratatoeskr/js/backend.js
+++ b/ratatoeskr/js/backend.js
@@ -1,19 +1,19 @@
$(function()
{
- $("div.articleeditor-metabar-element h2").addClass("metabar_element_expanded").click(function()
- {
- self = $(this);
- if(self.hasClass("metabar_element_expanded"))
- {
- self.removeClass("metabar_element_expanded");
- self.addClass("metabar_element_collapsed");
- $("div.articleeditor-metabar-element-content", self.parent()).hide("fast");
- }
- else
- {
- self.removeClass("metabar_element_collapsed");
- self.addClass("metabar_element_expanded");
- $("div.articleeditor-metabar-element-content", self.parent()).show("fast");
- }
- });
+ $("div.articleeditor-metabar-element h2").addClass("metabar_element_expanded").click(function()
+ {
+ self = $(this);
+ if(self.hasClass("metabar_element_expanded"))
+ {
+ self.removeClass("metabar_element_expanded");
+ self.addClass("metabar_element_collapsed");
+ $("div.articleeditor-metabar-element-content", self.parent()).hide("fast");
+ }
+ else
+ {
+ self.removeClass("metabar_element_collapsed");
+ self.addClass("metabar_element_expanded");
+ $("div.articleeditor-metabar-element-content", self.parent()).show("fast");
+ }
+ });
}); \ No newline at end of file