aboutsummaryrefslogtreecommitdiff
path: root/includes/js/dijit/_base/bidi.js
blob: 7cd3f467cfea67f68543c795790b0f4a126b6a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if(!dojo._hasResource["dijit._base.bidi"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dijit._base.bidi"] = true;
dojo.provide("dijit._base.bidi");

// summary: applies a class to the top of the document for right-to-left stylesheet rules

dojo.addOnLoad(function(){
	if(!dojo._isBodyLtr()){
		dojo.addClass(dojo.body(), "dijitRtl");
	}
});

}