Skip to content

Commit

Permalink
Fix path to keymap
Browse files Browse the repository at this point in the history
In some cases this wasn't resolving properly, and as a result it would
cycle and reload the invalid URL as fast as it could.
  • Loading branch information
binford2k committed Jun 27, 2015
1 parent 88f6679 commit 3580783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/showoff.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function loadSlides(load_slides, prefix) {
}

function loadKeyDictionaries () {
$.getJSON('js/keyDictionary.json', function(data) {
$.getJSON('/js/keyDictionary.json', function(data) {
keycode_dictionary = data['keycodeDictionary'];
keycode_shifted_keys = data['shiftedKeyDictionary'];
});
Expand Down

0 comments on commit 3580783

Please sign in to comment.