aboutsummaryrefslogtreecommitdiffstats
path: root/public/js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js')
-rw-r--r--public/js/gogs.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js
index 427280db54..4a9635ea65 100644
--- a/public/js/gogs.js
+++ b/public/js/gogs.js
@@ -220,7 +220,7 @@ function initRepository() {
// File list and commits
if ($('.repository.file.list').length > 0 ||
- ('.repository.commits').length > 0) {
+ ('.repository.commits').length > 0) {
initFilterSearchDropdown('.choose.reference .dropdown');
$('.reference.column').click(function () {
@@ -411,7 +411,7 @@ function initRepository() {
$status_btn.click(function () {
$('#status').val($status_btn.data('status-val'));
$('#comment-form').submit();
- })
+ });
}
// Diff