1
0
Fork 0
forked from 0x2620/oxjs

Ox.UI.getImageURL -> Ox.getImageURL

This commit is contained in:
rlx 2014-09-25 12:28:47 +02:00
commit 4ea696b451
14 changed files with 36 additions and 36 deletions

View file

@ -145,8 +145,8 @@ Ox.DocPage = function(options, self) {
Ox.$('<img>')
.attr({
src: isExpanded
? Ox.UI.getImageURL('symbolDown')
: Ox.UI.getImageURL('symbolRight')
? Ox.getImageURL('symbolDown')
: Ox.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.UI.getImageURL('symbolRight');
isExpanded = $this.attr('src') == Ox.getImageURL('symbolRight');
$this.attr({
src: isExpanded
? Ox.UI.getImageURL('symbolDown')
: Ox.UI.getImageURL('symbolRight')
? Ox.getImageURL('symbolDown')
: Ox.getImageURL('symbolRight')
});
$('.' + className).each(function() {
var $this = $(this), isHidden = false;