From: Anton Khorev Date: Mon, 13 Nov 2023 08:13:56 +0000 (+0300) Subject: Remove unused maximiseMap/minimiseMap functions X-Git-Tag: live~906^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/342d323c04caa6c2682c2c542365d2164e8663a6?ds=inline;hp=-c Remove unused maximiseMap/minimiseMap functions --- 342d323c04caa6c2682c2c542365d2164e8663a6 diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index f3ca5f37f..5bfe86b86 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -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; diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 023dcdca7..100d489da 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -915,15 +915,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 {