Add Piratenkleider theme
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
1
wp-content/themes/piratenkleider/js/dynamic-sidebar.min.js
vendored
Normal file
1
wp-content/themes/piratenkleider/js/dynamic-sidebar.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
jQuery(document).ready(function(d){var e={width:"100%"};var b={width:"0"};var a={width:"67%"};var f={width:"33%"};d.SetOnSwitch=function(){d(".content-primary").prepend($htmlOnSwitch)};d.SetOffSwitch=function(){d(".content-primary").prepend($htmlOffSwitch)};d.OnClickOnSwitchOff=function(){d(".switchoff a").click(function(g){d(".switchon").toggle();d(".switchoff").toggle();d(".content-aside .skin").toggle();d(".content-primary").css(e);d(".content-aside").css(b);g.preventDefault()})};d.OnClickOnSwitchOn=function(){d(".switchon a").click(function(g){d(".switchon").toggle();d(".switchoff").toggle();d(".content-aside .skin").toggle();d(".content-primary").css(a);d(".content-aside").css(f);g.preventDefault()})};var c=d(window).width();if(c>600){d.SetOnSwitch();d.SetOffSwitch();d(".switchon").toggle();d.OnClickOnSwitchOff();d.OnClickOnSwitchOn()}});
|
||||
Reference in New Issue
Block a user