1
0
Fork 0
forked from 0x2620/oxjs

load svg images inline

This commit is contained in:
rolux 2011-08-09 19:00:39 +02:00
commit dd7191e8d4
12 changed files with 78 additions and 59 deletions

View file

@ -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 {