Skip to content

Commit 5b2cddc

Browse files
committed
replacing instances of $.curCSS with $.css for compatibility with jQuery 1.8.x.
1 parent 15acdbf commit 5b2cddc

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.project

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>nyroModal</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
</buildSpec>
9+
<natures>
10+
</natures>
11+
</projectDescription>

js/jquery.nyroModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ jQuery(function($, undefined) {
664664
this.fullSize.viewH = Math.min(this.fullSize.h, this.fullSize.wH);
665665
},
666666
_getCurCSS: function(elm, name) {
667-
var ret = parseInt($.curCSS(elm, name, true));
667+
var ret = parseInt($.css(elm, name, true));
668668
return isNaN(ret) ? 0 : ret;
669669
},
670670
_getOuter: function(elm) {

0 commit comments

Comments
 (0)