From c009f17651e153835babd04b1cda1cb4a24ca0a2 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Wed, 17 Jul 2019 13:56:27 -0400
Subject: [PATCH] set different trigger event in desktop and mobile by default
---
package.json | 1 +
src/components/extra_buttons/extra_buttons.vue | 2 --
src/components/moderation_tools/moderation_tools.vue | 2 --
src/components/status/status.vue | 3 ---
src/main.js | 9 ++++++++-
yarn.lock | 5 +++++
6 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/package.json b/package.json
index f039d412..dabc4d11 100644
--- a/package.json
+++ b/package.json
@@ -24,6 +24,7 @@
"diff": "^3.0.1",
"karma-mocha-reporter": "^2.2.1",
"localforage": "^1.5.0",
+ "mobile-detect": "^1.4.3",
"object-path": "^0.11.3",
"phoenix": "^1.3.0",
"portal-vue": "^2.1.4",
diff --git a/src/components/extra_buttons/extra_buttons.vue b/src/components/extra_buttons/extra_buttons.vue
index 6781a4f8..746f1c91 100644
--- a/src/components/extra_buttons/extra_buttons.vue
+++ b/src/components/extra_buttons/extra_buttons.vue
@@ -4,8 +4,6 @@
trigger="click"
placement="top"
class="extra-button-popover"
- :offset="5"
- :container="false"
>