Merge pull request #2776 from LexaWin/patch-2
Update script.js in Skipping elements example
This commit is contained in:
commit
fe63de8d16
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ parent.onmouseover = parent.onmouseout = parent.onmousemove = handler;
|
|||
|
||||
function handler(event) {
|
||||
let type = event.type;
|
||||
while (type < 11) type += ' ';
|
||||
while (type.length < 11) type += ' ';
|
||||
|
||||
log(type + " target=" + event.target.id)
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue