From ae3f8adbb3f0fbb66cafb84887a79404d74e584f Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Tue, 13 Apr 2021 19:09:27 +0200 Subject: [PATCH] Remove overview.ts --- qt/aqt/data/web/js/overview.ts | 6 ------ qt/aqt/overview.py | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 qt/aqt/data/web/js/overview.ts diff --git a/qt/aqt/data/web/js/overview.ts b/qt/aqt/data/web/js/overview.ts deleted file mode 100644 index a5b05139c..000000000 --- a/qt/aqt/data/web/js/overview.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Copyright: Ankitects Pty Ltd and contributors - * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ - -$(function () { - $("#study").focus(); -}); diff --git a/qt/aqt/overview.py b/qt/aqt/overview.py index bd98aac3e..bdb2078c4 100644 --- a/qt/aqt/overview.py +++ b/qt/aqt/overview.py @@ -187,7 +187,7 @@ class Overview: self.web.stdHtml( self._body % content.__dict__, css=["css/overview.css"], - js=["js/vendor/jquery.min.js", "js/overview.js"], + js=["js/vendor/jquery.min.js"], context=self, )