Skip to content

Commit

Permalink
Fixed bug with $.PopUp
Browse files Browse the repository at this point in the history
  • Loading branch information
caseywebdev committed Oct 3, 2012
1 parent 827a8af commit 755ed0f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions dist/jquery-cwd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/pop-up.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/pop-up.coffee
Expand Up @@ -43,7 +43,7 @@ PopUp =
PopUp.$div.find('.js-pop-up-outside').click()
PopUp.$div
.on('click', (e) -> e.stopPropagation())
.on 'click', '.js-pop-up-hide', -> $.PopUp.hide
.on 'click', '.js-pop-up-hide', -> $.PopUp.hide()
$(document).keydown (e) ->
if PopUp.$container.css('display') is 'block' and
not $('body :focus').length
Expand Down Expand Up @@ -115,7 +115,7 @@ $.PopUp =
, ->
PopUp.$container.css display: 'none'
if PopUp.bodyStyle
$('body').attr style: PopUp.saveBodyStyle
$('body').attr style: PopUp.bodyStyle
else
$('body').removeAttr 'style'
delete PopUp.bodyStyle
PopUp.bodyStyle = null
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jquery-cwd",
"version": "0.0.4",
"version": "0.0.5",
"author": "Casey Foster <casey@caseywebdev.com>",
"licence": "MIT",
"repository": {
Expand Down

0 comments on commit 755ed0f

Please sign in to comment.