Skip to content

Commit

Permalink
Fix default settings of the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuNICOLAS committed Sep 12, 2016
1 parent 24beea5 commit 5ea1559
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
templateUrl: '/assets/app/components/exercise/execution-results.directive.html',
link: function (scope, element, attrs) {
scope.commonErrors = commonErrors;
scope.currentTab = -1;
listenersHandler.register('onmessage', function (data) {
var cmd = data.cmd;
var args = data.args;
Expand All @@ -34,4 +35,4 @@
}
};
}
})();
})();
2 changes: 0 additions & 2 deletions public/app/exercise/exercise.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,6 @@
$('#successModal').foundation('reveal', 'open');
}
exercise.resultType = msgType;
exercise.display = 'result';
}, 500);
unbindListener(); // Allows to remove the listener
});
Expand All @@ -603,7 +602,6 @@
$('#successModal').foundation('reveal', 'open');
}
exercise.resultType = msgType;
exercise.display = 'result';
}
}

Expand Down

0 comments on commit 5ea1559

Please sign in to comment.