Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/jsxc.nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorLEDfan <LEDfan@users.noreply.github.com>2017-09-14 11:20:16 +0300
committerKlaus <klaus@jsxc.org>2017-09-14 11:20:16 +0300
commit961804a88869ed49d5490e3c0792b4e96bec077e (patch)
treec85fb2b4ed9b082416edde2bd81d364c5469730b /js
parent21534406ac706f2a344cd77f6ac62ce0840119a0 (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.js7
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) {