Fix #3867: Add namespaces to all Javascript events.

This commit is contained in:
evazion
2018-09-04 11:58:09 -05:00
parent c03af7f563
commit 3bed5f3cf9
23 changed files with 121 additions and 119 deletions

View File

@@ -2,7 +2,7 @@ let JanitorTrials = {};
JanitorTrials.initialize_all = function() {
if ($("#c-janitor-trials").length) {
$("input[value=Test]").click(function(e) {
$("input[value=Test]").on("click.danbooru", function(e) {
$.ajax({
type: "get",
url: "/janitor_trials/test.json",