aboutsummaryrefslogtreecommitdiff
path: root/static/js/controllers.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/controllers.js')
-rwxr-xr-x[-rw-r--r--]static/js/controllers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/controllers.js b/static/js/controllers.js
index f3b9cf7..08c6a99 100644..100755
--- a/static/js/controllers.js
+++ b/static/js/controllers.js
@@ -53,7 +53,7 @@ controller('EditorCtrl', ['$scope', '$routeParams', '$location', 'toc', 'i18n',
$scope.curPage = page;
} else {
l = (page < 1) ? toc.prevLesson(l) : toc.nextLesson(l);
- if (l === '') { // If there's not previous or next
+ if (l === '') { // If there's no previous or next
$location.path('/list');
return;
}