From ba27cb3fc21baa6f64221612517faa77811f9a20 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Thu, 23 Nov 2017 20:30:23 +0100 Subject: zelfoverhoor: Remove redundant shuffle() function in qs.js --- modules/zelfoverhoor/qs.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'modules') diff --git a/modules/zelfoverhoor/qs.js b/modules/zelfoverhoor/qs.js index cc68af9..6b04487 100644 --- a/modules/zelfoverhoor/qs.js +++ b/modules/zelfoverhoor/qs.js @@ -9,14 +9,6 @@ function clearElement(el){ while(el.lastChild)el.removeChild(el.lastChild); } -function shuffle(a){ - var j,v,i; - for(var i=a.length-1;i>0;i--){ - j=Math.floor(Math.random()*(i+1)); - v=a[i]; a[i]=a[j]; a[j]=v; - } -} - function startQuiz(){ currentidx=0; numcorrect=0; -- cgit v1.2.3-70-g09d2