Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 009b307

Browse files
author
Darsan Tatineni
committed
triggering input event not working on IE9 as expected.
1 parent 74dd2f7 commit 009b307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngScenario/dsl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ angular.scenario.dsl('input', function() {
204204
return this.addFutureAction("input '" + this.name + "' enter '" + value + "'", function($window, $document, done) {
205205
var input = $document.elements('[ng\\:model="$1"]', this.name).filter(':input');
206206
input.val(value);
207-
input.trigger(event || supportInputEvent && 'input' || 'change');
207+
input.trigger(event || (supportInputEvent && !msie) && 'input' || 'change');
208208
done();
209209
});
210210
};

0 commit comments

Comments
 (0)