At.js
At.js copied to clipboard
API: run bug
when i use a button to toggle atwho`s run, an error occurs: jquery.atwho.js:594 Uncaught TypeError: Cannot read property 'which' of undefined
by the way, input '@' toggle atwho normally.
I'm running into this same exact issue as well.
Same issue when running the example from the documentation:
elem.atwho("load", "@", data).atwho("run")
do you use the editable DOM? I alse meet it.
<textarea id="textinputor" ></textarea>
<div id="inputor" contenteditable="true"></div>
$('textinputor').atwho('run')
is ok.
but $('#input').atwo('run')
will raise the error jquery.atwho.js:713 Uncaught TypeError: Cannot read property 'which' of undefined
any solutions to this ?