summaryrefslogtreecommitdiff
path: root/scripts/robot.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/robot.js')
-rw-r--r--scripts/robot.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/robot.js b/scripts/robot.js
index 15265b78..420b75a7 100644
--- a/scripts/robot.js
+++ b/scripts/robot.js
@@ -35,6 +35,9 @@ var robot = function (element, sentence) {
r.counter++;
if (r.sentence.charAt(r.counter) !== "|") {
r.element.val(text + r.sentence.charAt(r.counter));
+ if ('oninput' in document.documentElement) {
+ r.element.trigger('input', {});
+ }
//if(Math.random()>0.9)graph.editType("x","temp",nodetypes[Math.round(Math.random()*4)]);
if (r.sentence.charAt(r.counter)==="#") {
r.sentencecounter++;