From ad1e0dea56daafb396d4266d29c30905e9e0f984 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Thu, 17 Sep 2020 16:01:57 +0200 Subject: pkgs/profpatsch.de: replace jquery by native js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was only used for a single use-case, by now all browsers support this functionality. It’s a pretty heavy dependency for a single use :) Co-Authored-By: midzer --- pkgs/profpatsch/profpatsch.de/talkies.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/profpatsch/profpatsch.de/talkies.js') diff --git a/pkgs/profpatsch/profpatsch.de/talkies.js b/pkgs/profpatsch/profpatsch.de/talkies.js index 9f6a13c7..7cbf77ad 100644 --- a/pkgs/profpatsch/profpatsch.de/talkies.js +++ b/pkgs/profpatsch/profpatsch.de/talkies.js @@ -1,4 +1,4 @@ -function appendTalkies(jquery_element) { +function appendTalkies(append_to_element) { talkies = [ { talk: "Oh the things you’ll see …" }, { talk: "I’ll manage." }, @@ -149,5 +149,5 @@ function appendTalkies(jquery_element) { return ''+content+''; }; } - $(jquery_element).append(elem(talkie.talk, title)); + append_to_element.innerHTML = elem(talkie.talk, title); } -- cgit 1.4.1