fix video markers

This commit is contained in:
rolux 2013-01-31 18:42:36 +05:30
parent c50d91c0ac
commit 233fd97e87

View file

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