Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var which = e.which;
- var shiftKey = e.shiftKey;
- if (e.shiftKey === false && (e.which == 189 || e.which == 191)) {
- which -= 144;
- }
- else if (e.shiftKey === true && e.which == 187) {
- which -= 144;
- shiftKey = false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement