diff options
author | LEDfan <LEDfan@users.noreply.github.com> | 2017-09-14 11:20:16 +0300 |
---|---|---|
committer | Klaus <klaus@jsxc.org> | 2017-09-14 11:20:16 +0300 |
commit | 961804a88869ed49d5490e3c0792b4e96bec077e (patch) | |
tree | c85fb2b4ed9b082416edde2bd81d364c5469730b /js | |
parent | 21534406ac706f2a344cd77f6ac62ce0840119a0 (diff) |
Always display chat icon after search bar to prevent conflict with ot… (#70)
* Always display chat icon after search bar to prevent conflict with other icons
* Make Chat icon injection selector more specific
Diffstat (limited to 'js')
-rw-r--r-- | js/ojsxc.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/js/ojsxc.js b/js/ojsxc.js index e253858..dbc37c5 100644 --- a/js/ojsxc.js +++ b/js/ojsxc.js @@ -102,11 +102,8 @@ jsxc.gui.roster.toggle(); }); - if ($('#contactsmenu').length > 0) { - $('#contactsmenu').before(div); - } else { - $('#settings').after(div); - } + $('#header form.searchbox').after(div); + } function onRosterToggle(ev, state, duration) { |