We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92965a commit 5e935eaCopy full SHA for 5e935ea
ui/jquery.ui.dialog.js
@@ -37,18 +37,6 @@ var uiDialogClasses =
37
maxWidth: true,
38
minHeight: true,
39
minWidth: true
40
- },
41
- // support for jQuery 1.3.2 - handle common attrFn methods for dialog
42
- attrFn = $.attrFn || {
43
- val: true,
44
- css: true,
45
- html: true,
46
- text: true,
47
- data: true,
48
- width: true,
49
- height: true,
50
- offset: true,
51
- click: true
52
};
53
54
$.widget("ui.dialog", {
@@ -397,7 +385,7 @@ $.widget("ui.dialog", {
397
385
if ( key === "click" ) {
398
386
return;
399
387
}
400
- if ( key in attrFn ) {
388
+ if ( key in button ) {
401
389
button[ key ]( value );
402
390
} else {
403
391
button.attr( key, value );
0 commit comments