Bug 1455462 - Part 1. Use the toolbox.zoomIn3.key shortcut. r=ochameau, a=RyanVM
authorMantaroh Yoshinaga <mantaroh@gmail.com>
Mon, 14 May 2018 17:17:00 -0400
changeset 473342 d234aa23f84f8c13a301c95787c06f60a4ed8ba0
parent 473341 594d4ff3b55bca69fedc366b0573bf17e204f118
child 473343 69dec209ab576d4c6af7fe85b3fa16cca495a89a
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau, RyanVM
bugs1455462
milestone61.0
Bug 1455462 - Part 1. Use the toolbox.zoomIn3.key shortcut. r=ochameau, a=RyanVM This key will empty string, so we don't use this key now. But we might use this key in the future.
devtools/client/shared/zoom-keys.js
--- a/devtools/client/shared/zoom-keys.js
+++ b/devtools/client/shared/zoom-keys.js
@@ -59,17 +59,17 @@ exports.register = function(window) {
   // Set zoom to whatever the last setting was.
   setZoom(zoomValue);
 
   shortcuts.on(L10N.getStr("toolbox.zoomIn.key"), zoomIn);
   let zoomIn2 = L10N.getStr("toolbox.zoomIn2.key");
   if (zoomIn2) {
     shortcuts.on(zoomIn2, zoomIn);
   }
-  let zoomIn3 = L10N.getStr("toolbox.zoomIn2.key");
+  let zoomIn3 = L10N.getStr("toolbox.zoomIn3.key");
   if (zoomIn3) {
     shortcuts.on(zoomIn3, zoomIn);
   }
 
   shortcuts.on(L10N.getStr("toolbox.zoomOut.key"),
                zoomOut);
   let zoomOut2 = L10N.getStr("toolbox.zoomOut2.key");
   if (zoomOut2) {