Skip to content

Commit

Permalink
Fixed zmi sitemap toggle
Browse files Browse the repository at this point in the history
There is no longer a persistent URL parameter "dtpref_sitemap" that might be checked by Javascript.

Refs idasm-unibe-ch/unibe-cms#400
  • Loading branch information
cmeier76 committed Sep 22, 2023
1 parent 8ab6bb0 commit 7c0437d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ $ZMI.registerReady(function(){
// Toggle: Classical Sitemap Icon
$('a#navbar-sitemap').each(function() {
var $a = $(this);
if (self.window.parent.frames.length > 1 && typeof self.window.parent != "undefined" && (self.window.parent.location+"").indexOf('dtpref_sitemap=1') > 0) {
if (self.window.parent.frames.length > 1 && typeof self.window.parent != "undefined") {
$a.attr('target','_top');
}
else {
Expand Down

0 comments on commit 7c0437d

Please sign in to comment.