This commit is contained in:
Ilya Kantor 2015-04-28 19:14:55 +03:00
parent 12aab6fe83
commit cfe125bc7d
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
function log(event) { function log(event) {
text.value += event.type + ' [target: ' + event.target.className + ']\n'; text.value += event.type + ' [target: ' + event.target.id + ']\n';
text.scrollTop = text.scrollHeight; text.scrollTop = text.scrollHeight;
} }

View file

@ -10,8 +10,8 @@
width: 70px; width: 70px;
height: 70px; height: 70px;
position: absolute; position: absolute;
left: 20px; left: 45px;
top: 20px; top: 45px;
} }
#text { #text {