Chromium Code Reviews| Index: remoting/tools/javascript_key_tester/chord_tracker.js |
| diff --git a/remoting/tools/javascript_key_tester/chord_tracker.js b/remoting/tools/javascript_key_tester/chord_tracker.js |
| index ee2a32771873f0c235ca079fe6a9c95a9bdb8e19..a701b93981356dd10fe54edc7e430299ac0dbc9f 100644 |
| --- a/remoting/tools/javascript_key_tester/chord_tracker.js |
| +++ b/remoting/tools/javascript_key_tester/chord_tracker.js |
| @@ -51,7 +51,7 @@ ChordTracker.prototype.begin_ = function() { |
| } |
| this.currentDiv_ = document.createElement('div'); |
| this.currentDiv_.classList.add('chord-div'); |
| - this.parentDiv_.appendChild(this.currentDiv_); |
| + this.parentDiv_.insertBefore(this.currentDiv_, this.parentDiv_.firstChild); |
|
Łukasz Anforowicz
2015/01/28 22:15:35
By prepending, rather than appending, one doesn't
Jamie
2015/01/28 22:31:27
Acknowledged.
|
| }; |
| /** |