MooTools More Keyboard refreshes page?
-
12-11-2019 - |
문제
I'm playing around with MooTools, including MooTools More.
I currently have a blank HTML page with a reference to both the core and the more js files. However, when I use var kb = Keyboard()
, the page gets refreshed. I guess this is not what it is supposed to do.
What is the use of this, or what am I possibly doing wrong?
해결책
instantiate it with var kb = new Keyboard();
제휴하지 않습니다 StackOverflow