summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/codeq/problem_list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/codeq/problem_list.js b/js/codeq/problem_list.js
index 268276f..7f1343d 100644
--- a/js/codeq/problem_list.js
+++ b/js/codeq/problem_list.js
@@ -318,7 +318,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
problem_ids = groups[group].filter(function (pid) { return pid in attempts }),
link;
if (problem_ids.length > 0) {
- var link = $('<a class="view-solutions"><span class="glyphicon glyphicon-download-alt"></span></a>')
+ var link = $('<a href="#" class="view-solutions"><span class="glyphicon glyphicon-download-alt"></span></a>')
.on('click', function (e) {
e.preventDefault();
codeq.globalStateMachine.transition('solutions', problem_ids);