Skip to content

Commit

Permalink
Fix placeholder vis
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed May 19, 2015
1 parent dd010b0 commit d1c1e60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/definitions/behaviors/visibility.js
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit d1c1e60

Please sign in to comment.