# HG changeset patch # User Brecht De Man # Date 1464882746 -7200 # Node ID 5bec79ce38ff4d6ad0fbdfd8309209f44605d0e0 # Parent a78ebb1bdd8ecd69decb1eeb06ad1af521449e2d Analysis page: Remove redundant 'else' Previous commit broke this. diff -r a78ebb1bdd8e -r 5bec79ce38ff js/specification.js --- a/js/specification.js Thu Jun 02 14:08:33 2016 +0100 +++ b/js/specification.js Thu Jun 02 17:52:26 2016 +0200 @@ -121,17 +121,13 @@ { case 'pre': case 'before': - else { - this.preTest = new this.surveyNode(this); - this.preTest.decode(this,survey[i]); - } + this.preTest = new this.surveyNode(this); + this.preTest.decode(this,survey[i]); break; case 'post': case 'after': - else { - this.postTest = new this.surveyNode(this); - this.postTest.decode(this,survey[i]); - } + this.postTest = new this.surveyNode(this); + this.postTest.decode(this,survey[i]); break; } } @@ -671,4 +667,4 @@ }; }; }; -} \ No newline at end of file +}