| Index: tracing/tracing/ui/find_control.html
|
| diff --git a/tracing/tracing/ui/find_control.html b/tracing/tracing/ui/find_control.html
|
| index 7cbdd79be109605da6c19c558016cd27f5ae70d2..7a499237f6389cf796c51d58c4abdd925a5c9422 100644
|
| --- a/tracing/tracing/ui/find_control.html
|
| +++ b/tracing/tracing/ui/find_control.html
|
| @@ -95,10 +95,11 @@ Polymer({
|
| e.stopPropagation();
|
| return;
|
| } else if (e.keyCode === 13) {
|
| - if (e.shiftKey)
|
| + if (e.shiftKey) {
|
| this.findPrevious();
|
| - else
|
| + } else {
|
| this.findNext();
|
| + }
|
| }
|
| },
|
|
|
| @@ -145,14 +146,16 @@ Polymer({
|
| },
|
|
|
| findNext: function() {
|
| - if (this.controller)
|
| + if (this.controller) {
|
| this.controller.findNext();
|
| + }
|
| this.updateHitCountEl();
|
| },
|
|
|
| findPrevious: function() {
|
| - if (this.controller)
|
| + if (this.controller) {
|
| this.controller.findPrevious();
|
| + }
|
| this.updateHitCountEl();
|
| },
|
|
|
|
|