]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/4342'
authorTom Hughes <tom@compton.nu>
Mon, 13 Nov 2023 18:42:46 +0000 (18:42 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 13 Nov 2023 18:42:46 +0000 (18:42 +0000)
app/assets/javascripts/application.js
app/assets/stylesheets/common.scss

index f3ca5f37f463898b2412a83ab07298279f46059e..5bfe86b8607b58a9458e03db6b17306ca1b88b1e 100644 (file)
@@ -68,14 +68,6 @@ window.updateLinks = function (loc, zoom, layers, object) {
     .toggleClass("disabled", editDisabled);
 };
 
-window.maximiseMap = function () {
-  $("#content").addClass("maximised");
-};
-
-window.minimiseMap = function () {
-  $("#content").removeClass("maximised");
-};
-
 $(document).ready(function () {
   var headerWidth = 0,
       compactWidth = 0;
index 7d620f7d31ee9c65abc675f4fe39e67f7784f7aa..3edeeb4d8fcfbc6edcd6b01cd3e9409080c3355e 100644 (file)
@@ -901,15 +901,6 @@ tr.turn:hover {
   }
 }
 
-#content.maximised {
-  top: 0;
-  left: 0;
-  right: 0;
-  bottom: 0;
-  border: 0;
-  z-index: 2000;
-}
-
 /* Rules for small maps in content areas */
 
 .content_map {