Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make sure content column is at least as long as sidebar

  • Loading branch information...
commit 3f7dd17379d124acdcf7131ba77716d87360cda8 1 parent 2329bcd
@splitbrain authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/tpl/dokuwiki/script.js
View
7 lib/tpl/dokuwiki/script.js
@@ -65,4 +65,11 @@ jQuery(function(){
resizeTimer = setTimeout(tpl_dokuwiki_mobile,200);
}
);
+
+ // increase sidebar length to match content (desktop mode only)
+ var $sb = jQuery('.desktop #dokuwiki__aside');
+ if($sb.length) {
+ var $ct = jQuery('#dokuwiki__content div.page');
+ if($sb.height() > $ct.height()) $ct.height($sb.height());
+ }
});
Please sign in to comment.
Something went wrong with that request. Please try again.