global debug switch
This commit is contained in:
+4
-2
@@ -241,7 +241,7 @@ $(document).ready(function() {
|
||||
$('<div>')
|
||||
.addClass("map")
|
||||
.attr('overlay', map.over)
|
||||
.attr('debug', map.debug)
|
||||
.attr('debug', _SETTINGS.debug ? map.debug : _SETTINGS.debug)
|
||||
.css({
|
||||
"left":map.x+"mm",
|
||||
"top":map.y+"mm",
|
||||
@@ -277,9 +277,11 @@ $(document).ready(function() {
|
||||
// /_/ |_/_/ /_/\___/_/ /_/\____/_/ /____/
|
||||
|
||||
function initHashNav(){
|
||||
console.log('initHashNav');
|
||||
h = window.location.hash;
|
||||
console.log('hash',h);
|
||||
_current_dp_key = h.match(/^#(\d+)$/)[1];
|
||||
if(h)
|
||||
_current_dp_key = h.match(/^#(\d+)$/)[1];
|
||||
}
|
||||
|
||||
function updateHash(){
|
||||
|
||||
Reference in New Issue
Block a user