0xDB: no home screen tooltip, for the sake of simplicity

This commit is contained in:
rolux 2013-08-04 20:38:35 +00:00
parent 26b8357da9
commit 63f30402f5

View file

@ -47,12 +47,7 @@ pandora.ui.home = function() {
}) })
.appendTo(that), .appendTo(that),
$logo = Ox.Element({ $logo = $('<img>')
element: '<img>',
tooltip: function() {
return Ox._('Enter {0}', [pandora.site.site.name]);
}
})
.addClass('logo') .addClass('logo')
.attr({ .attr({
id: 'logo', id: 'logo',
@ -68,8 +63,8 @@ pandora.ui.home = function() {
margin: 'auto', margin: 'auto',
cursor: 'pointer' cursor: 'pointer'
}) })
.bindEvent({ .on({
anyclick: function() { click: function() {
$browseButton.triggerEvent('click'); $browseButton.triggerEvent('click');
} }
}) })
@ -278,7 +273,6 @@ pandora.ui.home = function() {
}; };
that.fadeOutScreen = function() { that.fadeOutScreen = function() {
$('.OxTooltip').remove();
that.find(':not(#logo)').hide(); that.find(':not(#logo)').hide();
$logo.animate({width: window.innerWidth + 'px'}, 500); $logo.animate({width: window.innerWidth + 'px'}, 500);
that.animate({opacity: 0}, 500, function() { that.animate({opacity: 0}, 500, function() {