diff --git a/static/js/pandora/home.indiancinema.js b/static/js/pandora/home.indiancinema.js index 514bc3ba8..369686f1c 100644 --- a/static/js/pandora/home.indiancinema.js +++ b/static/js/pandora/home.indiancinema.js @@ -68,13 +68,13 @@ pandora.ui.home = function() { margin: '0 auto 0 auto', cursor: 'pointer' }) - .on({ - click: function() { + .bindEvent({ + anyclick: function() { $browseButton.triggerEvent('click'); } }) .appendTo($box), - $line = $('') + $line = Ox.Element('') .attr({src: '/static/png/line.indiancinema.png'}) .css({ position: 'absolute', @@ -88,7 +88,15 @@ pandora.ui.home = function() { }) .one({ load: function() { - $line.animate({opacity: 1}, 250); + $line.animate({opacity: 1}, 250, function() { + $line + .options({tooltip: 'Visit Pad.ma'}) + .bindEvent({ + anyclick: function() { + document.location.href = '/url=https://pad.ma'; + } + }); + }); } }) .appendTo($box), diff --git a/static/js/pandora/home.padma.js b/static/js/pandora/home.padma.js index 707a94806..2cffcdf4a 100644 --- a/static/js/pandora/home.padma.js +++ b/static/js/pandora/home.padma.js @@ -68,8 +68,8 @@ pandora.ui.home = function() { margin: '0 auto 0 auto', cursor: 'pointer' }) - .on({ - click: function() { + .bindEvent({ + anyclick: function() { $browseButton.triggerEvent('click'); } })