Skip to content

Commit

Permalink
replacing instances of $.curCSS with $.css for compatibility with jQu…
Browse files Browse the repository at this point in the history
…ery 1.8.x.
  • Loading branch information
ethangardner committed Oct 19, 2012
1 parent 15acdbf commit 5b2cddc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>nyroModal</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
2 changes: 1 addition & 1 deletion js/jquery.nyroModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ jQuery(function($, undefined) {
this.fullSize.viewH = Math.min(this.fullSize.h, this.fullSize.wH);
},
_getCurCSS: function(elm, name) {
var ret = parseInt($.curCSS(elm, name, true));
var ret = parseInt($.css(elm, name, true));
return isNaN(ret) ? 0 : ret;
},
_getOuter: function(elm) {
Expand Down

0 comments on commit 5b2cddc

Please sign in to comment.