Removed addEventListener
This commit is contained in:
parent
afed2ae822
commit
14733c530f
|
@ -1,5 +1,3 @@
|
|||
window.addEventListener('load', ahoy_yo);
|
||||
|
||||
function ahoy_key(event) {
|
||||
if (!event || (!event.key && !event.keyCode)) return;
|
||||
var key = '';
|
||||
|
@ -677,3 +675,5 @@ function resize() {
|
|||
yi.setAttribute('width', w.toString());
|
||||
yi.parentNode.style.width = w + 'px';
|
||||
}
|
||||
|
||||
ahoy_yo();
|
||||
|
|
Loading…
Reference in a new issue