JS: fix some FNs in the qhelp examples

This commit is contained in:
Esben Sparre Andreasen
2020-05-15 11:36:27 +02:00
parent c06680a496
commit 1c5bffc095
23 changed files with 139 additions and 97 deletions

View File

@@ -1,4 +1,4 @@
$("button").click(function () {
var target = this.attr("data-target");
var target = $(this).attr("data-target");
$(target).hide();
});

View File

@@ -1,4 +1,4 @@
$("button").click(function () {
var target = this.attr("data-target");
$.find(target).hide();
var target = $(this).attr("data-target");
$.find(target).hide();
});