mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
JS: fix some FNs in the qhelp examples
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$("button").click(function () {
|
||||
var target = this.attr("data-target");
|
||||
var target = $(this).attr("data-target");
|
||||
$(target).hide();
|
||||
});
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user