X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1df32b88e886994cc992da5fb0e37867cbd80283..aca5308bcdc5ed5d85236731b65b728a4b870a09:/app/assets/javascripts/index.js?ds=sidebyside diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 8a1776714..cc4fc72f5 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -254,6 +254,8 @@ $(document).ready(function () { }; page.load = function(path, type, id) { + $("#sidebar").removeClass("minimized"); + if (OSM.STATUS === 'api_offline' || OSM.STATUS === 'database_offline') return; if (type === 'note') {