Skip to content

Commit

Permalink
Tabs Example: Fix spelling in JS comments (pull #997)
Browse files Browse the repository at this point in the history
Corrected spelling in comments in examples/tabs/tabs-2/js/tabs.js.
  • Loading branch information
vishalnarkhede authored and mcking65 committed Jul 5, 2019
1 parent 24001b9 commit c4f4d9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tabs/tabs-2/js/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
space: 32
};

// Add or substract depenign on key pressed
// Add or subtract depending on key pressed
var direction = {
37: -1,
38: -1,
Expand Down Expand Up @@ -125,7 +125,7 @@
};

// Either focus the next, previous, first, or last tab
// depening on key pressed
// depending on key pressed
function switchTabOnArrowPress (event) {
var pressed = event.keyCode;

Expand Down

0 comments on commit c4f4d9f

Please sign in to comment.