Bug 1508631 - Fixing indentation in multiple lines r=dao
authorFerenc Nagy <nagy.ferenc.jr@gmail.com>
Sat, 24 Nov 2018 13:18:45 +0000
changeset 504367 5edbd3619c978b1dc78709685a89536c61df1263
parent 504366 b599964cc3ee9182a50a4ed38996cef6fe87c13a
child 504368 7d894090b1aaa917904f8f36caf6ef01a4949f45
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1508631
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1508631 - Fixing indentation in multiple lines r=dao Differential Revision: https://phabricator.services.mozilla.com/D12826
toolkit/content/widgets/tabbox.js
--- a/toolkit/content/widgets/tabbox.js
+++ b/toolkit/content/widgets/tabbox.js
@@ -115,24 +115,24 @@ class MozTabbox extends MozXULElement {
         if (event.ctrlKey && !event.altKey && !event.metaKey)
           if (this.tabs && this.handleCtrlTab) {
             this.tabs.advanceSelectedTab(event.shiftKey ? -1 : 1, true);
             event.preventDefault();
           }
         break;
       case event.DOM_VK_PAGE_UP:
         if (event.ctrlKey && !event.shiftKey && !event.altKey && !event.metaKey &&
-          this.tabs) {
+            this.tabs) {
           this.tabs.advanceSelectedTab(-1, true);
           event.preventDefault();
         }
         break;
       case event.DOM_VK_PAGE_DOWN:
         if (event.ctrlKey && !event.shiftKey && !event.altKey && !event.metaKey &&
-          this.tabs) {
+            this.tabs) {
           this.tabs.advanceSelectedTab(1, true);
           event.preventDefault();
         }
         break;
       case event.DOM_VK_LEFT:
         if (event.metaKey && event.altKey && !event.shiftKey && !event.ctrlKey)
           if (this.tabs && this._handleMetaAltArrows) {
             let offset = window.getComputedStyle(this)