* view tab and various other links
*/
window.updateLinks = function (loc, zoom, layers, object) {
$(".geolink").each(function (index, link) {
var href = link.href.split(/[?#]/)[0],
* view tab and various other links
*/
window.updateLinks = function (loc, zoom, layers, object) {
$(".geolink").each(function (index, link) {
var href = link.href.split(/[?#]/)[0],
- .off("click.minzoom")
- .on("click.minzoom", function () { return !editDisabled; })
+ .attr("data-bs-original-title", editDisabled ?
+ I18n.t("javascripts.site.edit_disabled_tooltip") : "")
+ // Disable the button group and also the buttons to avoid
+ // inconsistent behaviour when zooming
$("header").children(":visible").each(function (i, e) {
compactWidth = compactWidth + $(e).outerWidth();
});
$("header").children(":visible").each(function (i, e) {
compactWidth = compactWidth + $(e).outerWidth();
});