Changeset 35103
- Timestamp:
- 2021-04-23T11:04:29+12:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/js/dataviz.js
r35095 r35103 178 178 179 179 if (auto_focus == ssv_auto_focus) { 180 var url = window.location.href; 181 window.location.href = url + "#sgvizler-plot"; 182 history.replaceState(null,null,url); 180 console.log("auto focusing on #sgvizler-plot"); 181 var orig_url = window.location.href; 182 var url_without_hash = orig_url.replace(/#.*$/,""); 183 window.location.href = url_without_hash + "#sgvizler-plot"; 184 //history.pushState(null,null,orig_url); 185 //history.replaceState(null,null,orig_url); 183 186 } 184 187 }
Note:
See TracChangeset
for help on using the changeset viewer.