From 63f30402f58688f82efd925c02e4f8d16de450be Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 4 Aug 2013 20:38:35 +0000 Subject: [PATCH] 0xDB: no home screen tooltip, for the sake of simplicity --- static/js/home.0xdb.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/static/js/home.0xdb.js b/static/js/home.0xdb.js index 7377d21e..546b6b2a 100644 --- a/static/js/home.0xdb.js +++ b/static/js/home.0xdb.js @@ -47,12 +47,7 @@ pandora.ui.home = function() { }) .appendTo(that), - $logo = Ox.Element({ - element: '', - tooltip: function() { - return Ox._('Enter {0}', [pandora.site.site.name]); - } - }) + $logo = $('') .addClass('logo') .attr({ id: 'logo', @@ -68,8 +63,8 @@ pandora.ui.home = function() { margin: 'auto', cursor: 'pointer' }) - .bindEvent({ - anyclick: function() { + .on({ + click: function() { $browseButton.triggerEvent('click'); } }) @@ -278,7 +273,6 @@ pandora.ui.home = function() { }; that.fadeOutScreen = function() { - $('.OxTooltip').remove(); that.find(':not(#logo)').hide(); $logo.animate({width: window.innerWidth + 'px'}, 500); that.animate({opacity: 0}, 500, function() {