From 66a041ef30df41e9f51c5d2d355ffe81fe9d54ac Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 29 Dec 2012 01:01:44 +0100 Subject: [PATCH] don't cache getImageURL (missing theme parameter -> different return values) --- source/Ox.UI/Ox.UI.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/Ox.UI.js b/source/Ox.UI/Ox.UI.js index 8dc2b9bb..3ffc38b1 100644 --- a/source/Ox.UI/Ox.UI.js +++ b/source/Ox.UI/Ox.UI.js @@ -327,7 +327,7 @@ Ox.load.UI = function(options, callback) { color Color name or RGB values theme Theme name @*/ - Ox.UI.getImageURL = Ox.cache(function(name, color, theme) { + Ox.UI.getImageURL = function(name, color, theme) { var colorName, image = images[name], themeData, @@ -355,7 +355,7 @@ Ox.load.UI = function(options, callback) { name: name, theme: theme })) + '-->' ); - }); + }; /*@ Ox.UI.getVideoFormat Get supported video formats (formats) -> of supported formats