🐛 dont override other event callbacks
This commit is contained in:
parent
644bf341b5
commit
d37a07a6a2
|
@ -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;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue