- function setSidebarWidth(x) {
- if (x < MIN_SIDEBAR_WIDTH) {
- x = 0;
- vsplitbar.removeClass('active');
- } else {
- vsplitbar.addClass('active');
- }
- $.wiki.state.perspectives.ScanGalleryPerspective.width = x;
- sidebar[0].style.width = x + 'px';
- };
-
-
- /* The save button */
+ function setSidebarWidth(x) {
+ if (x < MIN_SIDEBAR_WIDTH) {
+ x = 0;
+ vsplitbar.removeClass('active');
+ } else {
+ vsplitbar.addClass('active');
+ }
+ $.wiki.state.perspectives.ScanGalleryPerspective.width = x;
+ sidebar[0].style.width = x + 'px';
+ };
+
+ /* The save button */