aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/js
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-04-26 16:33:36 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-04-26 16:33:36 +0200
commit82d40e32363c4e96996eca7ee44ade879589aa0e (patch)
tree44c819d2472697de1e8eb404148f4a087109b27e /ratatoeskr/js
parent11c7214cb58be4100422b8f905bc629a8906e6ff (diff)
downloadratatoeskr-cms-82d40e32363c4e96996eca7ee44ade879589aa0e.tar.gz
ratatoeskr-cms-82d40e32363c4e96996eca7ee44ade879589aa0e.tar.bz2
ratatoeskr-cms-82d40e32363c4e96996eca7ee44ade879589aa0e.zip
Expand tabs and remove trailing whitespace
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