diff options
author | Andrew Dolgov <[email protected]> | 2019-08-16 09:20:57 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-08-16 09:20:57 +0300 |
commit | f8f8dd4cae8c4c58ee68d1ca6253b6991126c0df (patch) | |
tree | 95ee440ef01365a7fed3ef1f0929f3ca8724a9c9 /init.php | |
parent | e342351584e293a18dca7addb2943e0c2e9bb375 (diff) |
show correct class name for similar dialog, remove JS code from global context
Diffstat (limited to 'init.php')
-rwxr-xr-x | init.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -220,7 +220,7 @@ class Af_Img_Phash extends Plugin { if (!$api_mode) { $b = $doc->createElement("a"); $b->setAttribute("href", "#"); - $b->setAttribute("onclick", "showPhashSimilar(this)"); + $b->setAttribute("onclick", "Plugins.Af_Img_Phash.showSimilar(this)"); $b->setAttribute("data-check-url", $this->absolutize_url($check_uri)); $b->appendChild(new DOMText("(similar)")); |