summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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);