We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05dda78 commit 7f13b8eCopy full SHA for 7f13b8e
html/js/code.js
@@ -173,7 +173,7 @@ addEventListener("load", function() {
173
174
function parseFragment() {
175
var hash = document.location.hash.slice(1);
176
- var valid = /^(\d)+(?:\.(\d+))?$/.exec(hash);
+ var valid = /^(\d+)(?:\.(\d+))?$/.exec(hash);
177
if (valid) {
178
var chapter = getChapter(Number(valid[1]));
179
var exercise = chapter && valid[2] && findExercise(hash, chapter);
0 commit comments