fix video marker theme switch

This commit is contained in:
rolux 2013-01-31 18:52:01 +05:30
parent 30f26ebb9b
commit 8daf9446c2

View file

@ -345,9 +345,10 @@ Ox.load.UI = function(options, callback) {
Ox.forEach(colors[type], function(name, hex) {
image = image.replace(
new RegExp(hex, 'g'),
'#' + Ox.toHex(themeData[name])
'$' + Ox.toHex(themeData[name])
);
});
image = image.replace(/$/g, '#');
return 'data:image/svg+xml;base64,' + btoa(
image + '<!--' + JSON.stringify(Ox.extend(color ? {
color: colorName