diff --git a/static/js/pandora.js b/static/js/pandora.js index ee56b31c..e12285c8 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -210,7 +210,7 @@ appPanel body: $('body'), document: $(document), window: $(window) - .bind({ + .on({ beforeunload: pandora.beforeunloadWindow, resize: function() { pandora.resizeWindow(); diff --git a/static/js/pandora/allItems.js b/static/js/pandora/allItems.js index ae844d65..a3a03326 100644 --- a/static/js/pandora/allItems.js +++ b/static/js/pandora/allItems.js @@ -9,7 +9,7 @@ pandora.ui.allItems = function() { cursor: 'default', overflow: 'hidden' }) - .bind({ + .on({ click: function() { that.gainFocus(); pandora.user.ui._list && pandora.UI.set('find', {conditions: [], operator: '&'}); diff --git a/static/js/pandora/embedDialog.js b/static/js/pandora/embedDialog.js index bf6c67ac..e1d17b28 100644 --- a/static/js/pandora/embedDialog.js +++ b/static/js/pandora/embedDialog.js @@ -57,7 +57,7 @@ pandora.ui.embedDialog = function(data) { + '" height="' + height + '" src="' + constructUrl(data) + '" frameborder="0" allowfullscreen>' - ).bind({ + ).on({ click: function() { this.focus(); this.select(); diff --git a/static/js/pandora/home.0xdb.js b/static/js/pandora/home.0xdb.js index 1ff58322..1d673890 100644 --- a/static/js/pandora/home.0xdb.js +++ b/static/js/pandora/home.0xdb.js @@ -39,7 +39,7 @@ pandora.ui.home = function() { bottom: 0, width: '320px', height: '160px', - margin: 'auto' + margin: 'auto', }) .appendTo(that), $logo = $('') @@ -57,7 +57,7 @@ pandora.ui.home = function() { margin: 'auto', cursor: 'pointer' }) - .bind({ + .on({ click: function() { $browseButton.triggerEvent('click'); } diff --git a/static/js/pandora/home.js b/static/js/pandora/home.js index 4a124f99..be221934 100644 --- a/static/js/pandora/home.js +++ b/static/js/pandora/home.js @@ -57,7 +57,7 @@ pandora.ui.home = function() { margin: 'auto', cursor: 'pointer' }) - .bind({ + .on({ click: function() { $browseButton.triggerEvent('click'); } diff --git a/static/js/pandora/home.padma.js b/static/js/pandora/home.padma.js index 006113f0..8f65a24a 100644 --- a/static/js/pandora/home.padma.js +++ b/static/js/pandora/home.padma.js @@ -65,7 +65,7 @@ pandora.ui.home = function() { margin: '0 auto 0 auto', cursor: 'pointer' }) - .bind({ + .on({ click: function() { $browseButton.triggerEvent('click'); } @@ -414,7 +414,7 @@ pandora.ui.home = function() { } }) .appendTo($listsBox); - $listsBox.bind({ + $listsBox.on({ mouseenter: function() { mouse = true; $('.visible').show().stop().animate({ @@ -454,7 +454,7 @@ pandora.ui.home = function() { } } }; - Ox.$document.bind({keydown: self.keydown}); + Ox.$document.on({keydown: self.keydown}); lists.forEach(function(list, i) { $listBox[i] = $('