Browse Source

Fix placeholder vis

pull/2300/head
jlukic 9 years ago
parent
commit
d1c1e60308
1 changed files with 2 additions and 0 deletions
  1. 2
      src/definitions/behaviors/visibility.js

2
src/definitions/behaviors/visibility.js

@ -306,6 +306,7 @@ $.fn.visibility = function(parameters) {
module.debug('Element passed, adding fixed position', $module);
$placeholder
.css('display', 'block')
.css('visibility', 'hidden')
;
$module
.addClass(className.fixed)
@ -325,6 +326,7 @@ $.fn.visibility = function(parameters) {
module.debug('Element returned to position, removing fixed', $module);
$placeholder
.css('display', 'none')
.css('visibility', '')
;
$module
.removeClass(className.fixed)

Loading…
Cancel
Save