forked from 0x2620/oxjs
load svg images inline
This commit is contained in:
parent
6118eae51a
commit
dd7191e8d4
12 changed files with 78 additions and 59 deletions
|
|
@ -120,8 +120,8 @@ Ox.Button = function(options, self) {
|
|||
self.title = title;
|
||||
if (self.options.type == 'image') {
|
||||
that.attr({
|
||||
src: Ox.UI.getImagePath(
|
||||
'symbol' + title[0].toUpperCase() + title.substr(1) + '.svg'
|
||||
src: Ox.UI.getImageURL(
|
||||
'symbol' + title[0].toUpperCase() + title.substr(1)
|
||||
)
|
||||
});
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue