popup trigger manage when testing

This commit is contained in:
themighty1
2015-09-08 16:45:28 +02:00
parent 350537e3fd
commit ef2d30410d

View File

@@ -31,3 +31,10 @@ document.getElementById("about").addEventListener("click",
window.close();
});
//if this file is opened in a tab during testing, it will have a hash appended to the URL
setTimeout(function(){
var hash = window.location.hash;
if (hash === "#manage"){
document.getElementById('manage').click();
}
}, 100);