Skip to content

Commit

Permalink
Fix regression in MODE_PIE_MENUS
Browse files Browse the repository at this point in the history
  • Loading branch information
meganindya authored and kushal-khare-official committed Dec 10, 2020
1 parent 25529c2 commit 78965eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/piemenus.js
Original file line number Diff line number Diff line change
Expand Up @@ -3059,7 +3059,8 @@ piemenuModes = function(block, selectedMode) {

// navigate to a specific starting point
for (modeGroup in MODE_PIE_MENUS) {
for (let j = 0; j < MODE_PIE_MENUS[modeGroup].length; j++) {
let j;
for (j = 0; j < MODE_PIE_MENUS[modeGroup].length; j++) {
let modename = MODE_PIE_MENUS[modeGroup][j];
if (modename === selectedMode) {
break;
Expand Down

0 comments on commit 78965eb

Please sign in to comment.