fix video markers

This commit is contained in:
rolux 2013-01-31 18:46:01 +05:30
parent 233fd97e87
commit 30f26ebb9b

View file

@ -335,10 +335,7 @@ Ox.load.UI = function(options, callback) {
color = color || 'default';
theme = theme || Ox.Theme();
themeData = Ox.Theme.getThemeData(theme);
if (type == 'marker') {
image = image.replace(/#000000/g, themeData['videoMarkerBorder'])
.replace(/#FFFFFF/g, themeData['videoMarkerBackground']);
} else if (type == 'symbol') {
if (type == 'symbol') {
if (Ox.isString(color)) {
colorName = color;
color = themeData['symbol' + Ox.toTitleCase(color) + 'Color'];