You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
362 B
20 lines
362 B
define([ |
|
"dojo/_base/declare" |
|
], function(declare){ |
|
|
|
// module: |
|
// dojox/mobile/bidi/SimpleDialog |
|
|
|
return declare(null, { |
|
|
|
refresh:function(){ |
|
this.inherited(arguments); |
|
if(!this.isLeftToRight() && this.closeButton){ |
|
var s = Math.round(this.closeButtonNode.offsetHeight / 2); |
|
this.closeButtonNode.style.left = -s + "px"; |
|
} |
|
} |
|
|
|
}); |
|
}); |
|
|
|
|