Fix #3867: Add namespaces to all Javascript events.
This commit is contained in:
@@ -343,7 +343,7 @@ Autocomplete.render_item = function(list, item) {
|
||||
var $link = $("<a/>");
|
||||
$link.text(item.label);
|
||||
$link.attr("href", "/posts?tags=" + encodeURIComponent(item.value));
|
||||
$link.click(function(e) {
|
||||
$link.on("click.danbooru", function(e) {
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user