From 7a3eccc709d4d0c7cb5e2224015212b1e748d62d Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 10 Dec 2015 19:52:06 -0500 Subject: Drop 0.5.x support --- public/js/gogs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/js') diff --git a/public/js/gogs.js b/public/js/gogs.js index 427280db..4a9635ea 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 -- cgit v1.2.3