cosmetic changes

This commit is contained in:
rolux 2013-12-29 17:33:42 +05:30
parent e37290789c
commit 886794e4a3
3 changed files with 13 additions and 13 deletions

View file

@ -211,8 +211,8 @@ pandora.UI = (function() {
} }
triggerEvents && Ox.forEach(trigger, function(val, key) { triggerEvents && Ox.forEach(trigger, function(val, key) {
Ox.Log('UI', 'TRIGGER ', key, val); Ox.Log('UI', 'TRIGGER ', key, val);
Ox.forEach(pandora.$ui, function(element) { Ox.forEach(pandora.$ui, function($element) {
Ox.UI.isElement(element) && element.triggerEvent('pandora_' + key.toLowerCase(), { Ox.UI.isElement($element) && $element.triggerEvent('pandora_' + key.toLowerCase(), {
value: val, value: val,
previousValue: self.previousUI[key] previousValue: self.previousUI[key]
}); });

View file

@ -775,7 +775,7 @@ pandora.enableDragAndDrop = function($list, canMove, section) {
whiteSpace: 'nowrap' whiteSpace: 'nowrap'
}) })
.html(text) .html(text)
) );
} }
function isAtListsTop(e) { function isAtListsTop(e) {
@ -1722,9 +1722,9 @@ pandora.getVideoPartsAndPoints = function(durations, points) {
}; };
pandora.hasDialogOrScreen = function() { pandora.hasDialogOrScreen = function() {
return $('.OxDialog:visible').length return !!$('.OxDialog:visible').length
|| $('.OxFullscreen').length || !!$('.OxFullscreen').length
|| $('.OxScreen').length; || !!$('.OxScreen').length;
}; };
pandora.hasEventsLayer = function() { pandora.hasEventsLayer = function() {