Set the tooltip on the edit tab after the locale is set

Fixes #3839
This commit is contained in:
Tom Hughes 2022-12-14 21:48:28 +00:00
parent bd93eafdcb
commit 768ff8d72e

View file

@ -77,9 +77,6 @@ window.minimiseMap = function () {
};
$(document).ready(function () {
$("#edit_tab")
.attr("title", I18n.t("javascripts.site.edit_disabled_tooltip"));
var headerWidth = 0,
compactWidth = 0;
@ -147,4 +144,7 @@ $(document).ready(function () {
if (application_data.location) {
OSM.location = application_data.location;
}
$("#edit_tab")
.attr("title", I18n.t("javascripts.site.edit_disabled_tooltip"));
});