diff --git a/source/js/OxUI.js b/source/js/OxUI.js index e22cff0a..73ba4427 100644 --- a/source/js/OxUI.js +++ b/source/js/OxUI.js @@ -157,6 +157,7 @@ warning: '\u26A0', white_star: '\u2606' }; + Ox.IMAGE_CACHE = []; $.getJSON(Ox.UI.PATH + 'json/OxUI.json', function(data) { function loadImage(src) { @@ -166,6 +167,7 @@ dfd.resolve(); }; image.src = Ox.UI.PATH + src; + Ox.IMAGE_CACHE.push(src); return dfd.promise(); }