X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=public%2Fjavascripts%2Fcomponents%2Fproblems.js;h=cf2cd074cf7446220618576d69e4727440ef6f12;hb=4608eed94432356bd2df8c144d7d233913c6483c;hp=897babbe7035886ff889e384ff86fa1100e48868;hpb=936dc463c969f648ae0bc81074ff3272c7c99697;p=vchess.git diff --git a/public/javascripts/components/problems.js b/public/javascripts/components/problems.js index 897babbe..cf2cd074 100644 --- a/public/javascripts/components/problems.js +++ b/public/javascripts/components/problems.js @@ -38,7 +38,8 @@ Vue.component('my-problems', { {{ curProb.instructions }}

- + +

{{ translations["Show solution"] }} @@ -128,6 +129,7 @@ Vue.component('my-problems', {

`, created: function() { + // TODO: adapt this, #problems:28 ? (for example) if (location.hash.length > 0) this.showProblem(location.hash.slice(1)); else