forked from 0x2620/oxjs
Ox.UI.getImageURL -> Ox.getImageURL
This commit is contained in:
parent
1000cfe73e
commit
4ea696b451
14 changed files with 36 additions and 36 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue