Skip to content
Snippets Groups Projects

Resolve "User-generated permalink IDs collide with GitLab interface"

Merged Mike Greiling requested to merge 22781-user-generated-permalinks into master
All threads resolved!
@@ -60,9 +60,7 @@
@@ -60,9 +60,7 @@
window.addEventListener('hashchange', gl.utils.handleLocationHash);
window.addEventListener('hashchange', gl.utils.handleLocationHash);
window.addEventListener('load', function onLoad() {
window.addEventListener('load', function onLoad() {
window.removeEventListener('load', onLoad, false);
window.removeEventListener('load', onLoad, false);
if (window.location.hash) {
gl.utils.handleLocationHash();
setTimeout(gl.utils.handleLocationHash, 100);
}
}, false);
}, false);
$(function () {
$(function () {
Loading