1
0
Fork 0
forked from 0x2620/oxjs

Ox -> Ox.UI

This commit is contained in:
rlx 2014-09-26 14:31:20 +02:00
commit 552aba4271
17 changed files with 46 additions and 46 deletions

View file

@ -145,8 +145,8 @@ Ox.DocPage = function(options, self) {
Ox.$('<img>')
.attr({
src: isExpanded
? Ox.getImageURL('symbolDown')
: Ox.getImageURL('symbolRight')
? Ox.UI.getImageURL('symbolDown')
: Ox.UI.getImageURL('symbolRight')
})
.css({
width: '12px',
@ -156,11 +156,11 @@ Ox.DocPage = function(options, self) {
.on({
click: function() {
var $this = $(this),
isExpanded = $this.attr('src') == Ox.getImageURL('symbolRight');
isExpanded = $this.attr('src') == Ox.UI.getImageURL('symbolRight');
$this.attr({
src: isExpanded
? Ox.getImageURL('symbolDown')
: Ox.getImageURL('symbolRight')
? Ox.UI.getImageURL('symbolDown')
: Ox.UI.getImageURL('symbolRight')
});
$('.' + className).each(function() {
var $this = $(this), isHidden = false;