aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/javascripts/bootstrap/application.js
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2022-05-03 12:09:37 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2022-05-03 12:09:37 +0000
commit79c112f6aea337853209116a1fbd42c534b34370 (patch)
tree35df4cc3b14c2b0faf427aa56923e0f04f84e350 /resources/assets/javascripts/bootstrap/application.js
parent33d059072ac4645572b20ca4f66d72fed15dba0c (diff)
fix js errors, fixes #968
Closes #968 Merge request studip/studip!558
Diffstat (limited to 'resources/assets/javascripts/bootstrap/application.js')
-rw-r--r--resources/assets/javascripts/bootstrap/application.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/resources/assets/javascripts/bootstrap/application.js b/resources/assets/javascripts/bootstrap/application.js
index d747946..b7e3854 100644
--- a/resources/assets/javascripts/bootstrap/application.js
+++ b/resources/assets/javascripts/bootstrap/application.js
@@ -1,7 +1,5 @@
import { $gettext } from '../lib/gettext.js';
-/*jslint browser: true, esversion: 6 */
-/*global window, $, jQuery, _ */
/* ------------------------------------------------------------------------
* application.js
* This file is part of Stud.IP - http://www.studip.de
@@ -331,7 +329,7 @@ STUDIP.domReady(function () {
} else {
STUDIP.Scroll.removeHandler('horizontal-scroll');
}
- };
+ }
if ($('.no-touch #layout_content').length > 0) {
window.matchMedia('screen').addListener(function() {
@@ -348,7 +346,7 @@ jQuery(document).on('click', '.course-admin td .course-completion', function ()
var href = $(this).attr('href'),
timeout = window.setTimeout(function () {
$(this).addClass('ajaxing');
- }.bind(this), 300);;
+ }.bind(this), 300);
$.getJSON(href).done(function (completion) {
clearTimeout(timeout);