React on more events
authorJoachim Breitner <mail@joachim-breitner.de>
Sun, 4 Nov 2012 17:56:23 +0000 (17:56 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Sun, 4 Nov 2012 17:56:23 +0000 (17:56 +0000)
sm.html

diff --git a/sm.html b/sm.html
index 838f25c..bb108c1 100644 (file)
--- a/sm.html
+++ b/sm.html
@@ -128,8 +128,8 @@ function init() {
        }
 }
 </script>
-<body onload="init()">
-<textarea id="textarea" onKeyUp="adjust()">:-)</textarea>
+<body onload="init()" onresize="adjust()">
+<textarea id="textarea" onKeyUp="adjust()" onpaste="adjust()" oninput="adjust()">:-)</textarea>
 <span id="test"></span>
 <div id="about" onMouseOver="showBox()" onMouseOut="fadeOut()">
 <p>