JQuery FlexSlider: Fix innerHeight computation (#33847)
Fix computation innerHeight
This commit is contained in:
parent
f71f480027
commit
397a7846b5
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
JQuery FlexSlider: Fix innerheight computation
|
|
@ -376,7 +376,7 @@
|
|||
methods.setToClearWatchedEvent();
|
||||
});
|
||||
},
|
||||
update: function() {console.log('updating...');
|
||||
update: function() {
|
||||
var disabledClass = namespace + 'disabled';
|
||||
if (slider.pagingCount === 1) {
|
||||
slider.directionNav.addClass(disabledClass).attr('tabindex', '-1');
|
||||
|
@ -623,10 +623,10 @@
|
|||
slider.viewport.height(slider.h);
|
||||
slider.setProps(slider.h, "setTotal");
|
||||
} else {
|
||||
slider.setProps(slider.computedW, "setTotal");
|
||||
slider.newSlides.width(slider.computedW);
|
||||
// SMOOTH HEIGHT:
|
||||
if (slider.vars.smoothHeight) { methods.smoothHeight(); }
|
||||
slider.newSlides.width(slider.computedW);
|
||||
slider.setProps(slider.computedW, "setTotal");
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue