aboutsummaryrefslogtreecommitdiff
path: root/static/js/controllers.js
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2024-07-14 19:07:30 +0700
committerShulhan <m.shulhan@gmail.com>2024-07-14 19:07:30 +0700
commite0be34f59e1097a6f3e0268483f50e17eeb4330d (patch)
treec69de91680546ae54723072340eb52aaf5d85dcd /static/js/controllers.js
parent49904eeaa60c4df8d7062df353669f5aa45952d8 (diff)
downloadgolang-id-tour-e0be34f59e1097a6f3e0268483f50e17eeb4330d.tar.xz
all: gabungkan perubahan dari golang.org/x/website/_content/tour
Perubahan yang diambil, * 9d77df7a - _content: replace scheme-relative URLs with "https://" * b8a52b2c - _content: replace talks.golang.org links with go.dev/talks * f7508267 - tour/content: remove links to broken translations * 53bf622d - _content/tour: add a link to the Ukraininan translation * 80138e48 - _content: add dark mode to go.dev/tour * 6fcd42d2 - _content: apply white color in transparent gopher, for dark theme * bc602d60 - _content/tour/static/lib: sync jquery@3.7.0 jquery-ui@1.13.2 * 9a8a0a00 - _content/tour/static/js: fix type errors * f8747b4b - _content/tour: improve color contrast for dark theme * 9817d4fb - _content/tour: add dark theme cursor and selection styles * a84f6ee5 - tour: call 'done' callback after Run, on message Kind 'system'
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;
}