Skip to content

Commit 101db01

Browse files
committed
fixing the dealio
1 parent 4f217d9 commit 101db01

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

public/javascripts/DV/helpers/construction.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ DV._.extend(DV.Schema.helpers, {
6767
}
6868

6969
if (options.responsive) {
70-
DV.jQuery(options.container).css({
70+
var container = DV.jQuery(options.container);
71+
this.viewer.options.sidebarVisible = (container.width() - 2) >= this.viewer.helpers.RESPONSIVE_MIN_SIDEBAR_WIDTH;
72+
container.css({
7173
position: 'relative',
7274
height: options.height
7375
});

0 commit comments

Comments
 (0)