dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
21 lines (15 loc) • 362 B
JavaScript
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";
}
}
});
});