From 3adf24c0aaa2d89e3eacfe8d66a0f9c7efbee18a Mon Sep 17 00:00:00 2001 From: evazion Date: Tue, 18 Dec 2018 19:23:59 -0600 Subject: [PATCH] tag edit dialog: fix popout link not always being bound. Fix the popout link not being bound on the upload page when uploading without the bookmarklet. --- app/javascript/src/javascripts/posts.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/src/javascripts/posts.js.erb b/app/javascript/src/javascripts/posts.js.erb index 5a7f6807d..03be9723e 100644 --- a/app/javascript/src/javascripts/posts.js.erb +++ b/app/javascript/src/javascripts/posts.js.erb @@ -35,7 +35,7 @@ Post.initialize_all = function() { } } - if ($("#image").length) { + if ($("#c-posts #a-show, #c-uploads #a-new").length) { this.initialize_edit_dialog(); }