client/posts: fix mass tag for unprivileged users

This commit is contained in:
rr- 2016-08-02 11:47:16 +02:00
parent a9338f6490
commit 688740afa9

View file

@ -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) {