ignore #post_source when autorunning the iqdb search (#3851)
This commit is contained in:
@@ -54,8 +54,8 @@ Upload.initialize_submit = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Upload.initialize_iqdb_source = function() {
|
Upload.initialize_iqdb_source = function() {
|
||||||
if (/^https?:\/\//.test($("#upload_source,#post_source").val())) {
|
if (/^https?:\/\//.test($("#upload_source").val())) {
|
||||||
$.get("/iqdb_queries", {"url": $("#upload_source,#post_source").val()}).done(function(html) {$("#iqdb-similar").html(html)});
|
$.get("/iqdb_queries", {"url": $("#upload_source").val()}).done(function(html) {$("#iqdb-similar").html(html)});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user