src_js/iconolab-bundle/src/components/editor/mixins/tooltip.js
changeset 539 08e2513dbc2f
parent 415 c4b700679964
--- a/src_js/iconolab-bundle/src/components/editor/mixins/tooltip.js	Tue Jun 05 13:56:20 2018 +0200
+++ b/src_js/iconolab-bundle/src/components/editor/mixins/tooltip.js	Wed Jun 06 16:21:54 2018 +0200
@@ -7,12 +7,12 @@
     trigger: 'manual',
     html: true,
     title: '',
-    content: '',
+    content: ''
 }
 
 export default {
     methods: {
-        addTooltip: function() {
+        addTooltip: function () {
 
             var vm = new Vue(Tooltip);
 
@@ -39,10 +39,10 @@
 
             $el.popover(popoverOptions);
 
-            this.$on('drag:start', function() {
+            this.$on('drag:start', function () {
                 $el.popover('hide');
             });
-            this.$on('drag:end', function() {
+            this.$on('drag:end', function () {
                 $el.popover('show');
             });
 
@@ -58,7 +58,7 @@
 
             $el.popover('show');
         },
-        destroyTooltip: function() {
+        destroyTooltip: function () {
             var target = new Snap(this.getTooltipTarget());
 
             var $el = $(target.node);
@@ -66,7 +66,7 @@
                 $el.popover('destroy');
             }
         },
-        hideTooltip: function() {
+        hideTooltip: function () {
             var target = new Snap(this.getTooltipTarget());
 
             var $el = $(target.node);
@@ -74,7 +74,7 @@
                 $el.popover('hide');
             }
         },
-        showTooltip: function() {
+        showTooltip: function () {
             var target = new Snap(this.getTooltipTarget());
 
             var $el = $(target.node);