From 688740afa98f65963e8e132ed2aed89eae4d4fa1 Mon Sep 17 00:00:00 2001 From: rr- Date: Tue, 2 Aug 2016 11:47:16 +0200 Subject: [PATCH] client/posts: fix mass tag for unprivileged users --- client/js/views/posts_header_view.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/js/views/posts_header_view.js b/client/js/views/posts_header_view.js index da95a30..717afaa 100644 --- a/client/js/views/posts_header_view.js +++ b/client/js/views/posts_header_view.js @@ -70,23 +70,23 @@ class PostsHeaderView { } get _safetyButtonNodes() { - return this._searchFormNode.querySelectorAll('.safety'); + return this._hostNode.querySelectorAll('form.search .safety'); } get _queryInputNode() { - return this._searchFormNode.querySelector('[name=search-text]'); + return this._hostNode.querySelector('form.search [name=search-text]'); } get _massTagInputNode() { - return this._massTagFormNode.querySelector('[type=text]'); + return this._hostNode.querySelector('form.masstag [type=text]'); } get _openMassTagLinkNode() { - return this._massTagFormNode.querySelector('.open-masstag'); + return this._hostNode.querySelector('form.masstag .open-masstag'); } get _stopMassTagLinkNode() { - return this._massTagFormNode.querySelector('.stop-tagging'); + return this._hostNode.querySelector('form.masstag .stop-tagging'); } _evtMassTagClick(e) {