From 7697d266908f8bdca8464f08556bf0266b47c598 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 12 Dec 2009 19:19:09 +0000 Subject: - Patch #655600 by David_Rothstein, nenne: small code cleanups. --- modules/overlay/overlay-parent.js | 9 --------- 1 file changed, 9 deletions(-) (limited to 'modules') diff --git a/modules/overlay/overlay-parent.js b/modules/overlay/overlay-parent.js index a86a9297e..4f25e2bdd 100644 --- a/modules/overlay/overlay-parent.js +++ b/modules/overlay/overlay-parent.js @@ -25,7 +25,6 @@ Drupal.behaviors.overlayParent = { window.location.href = this.href; }); - // Resize the overlay when the toolbar drawer is toggled. $('#toolbar a.toggle', context).once('overlay').click(function () { setTimeout(function () { @@ -34,7 +33,6 @@ Drupal.behaviors.overlayParent = { Drupal.overlay.resize(Drupal.overlay.iframe.documentSize); } }, 150); - }); // Make sure the onhashchange handling below is only processed once. @@ -887,11 +885,4 @@ Drupal.theme.prototype.overlayTitleHeader = function (text) { return '

' + text + '

'; }; -/** - * Theme function for the shortcuts button next to the overlay title. - */ -Drupal.theme.prototype.overlayShortcutsButton = function (text) { - return '
' + text + '
'; -} - })(jQuery); -- cgit v1.2.3