summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorJimmy Huynh <jimmy.huynh@etu.unistra.fr>2021-02-19 15:30:19 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 23:17:31 +0200
commita6dba240c96a619af1de29cb923fe4a49c3a3dae (patch)
tree5a4a79ba893ba78d011352517f7c5a0a97375f8f /js
parent63dddc342e33b8e92ffc95df3768ff6d505a47b7 (diff)
(+) ui : dropdown on click (i.t of hover)
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'js')
-rw-r--r--js/controller/ShareController.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/controller/ShareController.js b/js/controller/ShareController.js
index b0b199ef9..66d3ce217 100644
--- a/js/controller/ShareController.js
+++ b/js/controller/ShareController.js
@@ -9,6 +9,12 @@
app.controller('ShareController', function (ShareResource, Loading) {
'use strict';
+ this.showDropDown = false;
+
+ this.toggleDropdown = function() {
+ this.showDropDown = !this.showDropDown;
+ };
+
this.userList = [];
/**