mirror of
https://github.com/tlsnotary/PageSigner.git
synced 2026-01-09 14:48:07 -05:00
popup trigger manage when testing
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user