summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-12 19:19:09 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-12 19:19:09 +0000
commit7697d266908f8bdca8464f08556bf0266b47c598 (patch)
tree556c01469cd4f8c40be192d9b36e8f05dbdcd0bb
parentbce59ec4e5f23095969031188ec1de05b128190b (diff)
downloadbrdo-7697d266908f8bdca8464f08556bf0266b47c598.tar.gz
brdo-7697d266908f8bdca8464f08556bf0266b47c598.tar.bz2
- Patch #655600 by David_Rothstein, nenne: small code cleanups.
-rw-r--r--modules/overlay/overlay-parent.js9
1 files changed, 0 insertions, 9 deletions
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 '<h1 id="ui-dialog-title-overlay-container" class="ui-dialog-title" tabindex="-1" unselectable="on">' + text + '</h1>';
};
-/**
- * Theme function for the shortcuts button next to the overlay title.
- */
-Drupal.theme.prototype.overlayShortcutsButton = function (text) {
- return '<div class="add-or-remove-shortcuts">' + text + '</div>';
-}
-
})(jQuery);