🐛 dont override other event callbacks

This commit is contained in:
DrMaxNix 2024-02-04 17:02:22 +01:00
parent 644bf341b5
commit d37a07a6a2
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
window.onload = function(){
window.addEventListener("load", function(event){
// REGISTER ONCLICK HANDLERS //
// iterate over all copylink buttons
let copylink_button_list = document.getElementsByClassName("copylink");
@ -9,7 +9,7 @@ window.onload = function(){
// add descriptive title
one_copylink_button.title = copylink_hint_text;
}
}
});