Skip to content

Commit

Permalink
Replace document.getElementById("customGctButton").onclick with docum…
Browse files Browse the repository at this point in the history
…ent.getElementById("customGctButton")['onclick'] as suggested by Adam. This drops the migrated handlers from text searches looking for typical inline handler patterns ("onclick = ")
  • Loading branch information
vagisha committed Apr 5, 2024
1 parent 9474b83 commit 8bb99b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lincs/resources/views/CustomGCT.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
LABKEY.Utils.onReady(function()
{
document.getElementById("customGctButton").onclick = function() { showCustomGCTForm(); };
document.getElementById("customGctButton")['onclick'] = showCustomGCTForm;
});

</script>
Expand Down

0 comments on commit 8bb99b7

Please sign in to comment.