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

Loading…
Cancel
Save