1
0
Fork 0
forked from 0x2620/oxjs

fixing paths in Ox.UI

This commit is contained in:
rolux 2011-04-25 14:03:49 +02:00
commit fd58906e04
13 changed files with 23 additions and 23 deletions

View file

@ -21,7 +21,7 @@ Ox.IconItem = function(options, self) {
height: self.options.size * 1.5,
lineLength: self.options.size == 64 ? 15 : 23,
lines: self.options.size == 64 ? 4 : 5,
url: Ox.UI.PATH + '/png/ox.ui/transparent.png',
url: Ox.PATH + '/png/Ox.UI/transparent.png',
width: self.options.size
});
self.title = formatText(self.options.title, self.lines - 1, self.lineLength);

View file

@ -48,7 +48,7 @@ Ox.ListMap = function(options, self) {
return $('<img>')
.attr({
// fixme: not the right place to do these
src: Ox.UI.PATH + 'svg/ox.map/' + (value || 'NTHH') + '.' + (value == 'RE' ? 'png' : 'svg')
src: Ox.PATH + 'svg/ox.map/' + (value || 'NTHH') + '.' + (value == 'RE' ? 'png' : 'svg')
})
.load(function() {
$(this).css({