Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Unified Diff: remoting/tools/javascript_key_tester/chord_tracker.js

Issue 884703006: Handling PNaCl KeyboardInputEvent(s) in the key tester app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
};
/**

Powered by Google App Engine
This is Rietveld 408576698