Commit 60e4c90e authored by Francois Hendriks's avatar Francois Hendriks
Browse files

index dropdowns

parent 1cfe47a5
......@@ -19,13 +19,12 @@ angular.module('frontendDdltnApp.animate')
console.log("max-screen0");
element.on('mouseenter', function(event) {
scope.$apply(function () {
console.log("it should be working");
scope.$emit('scope.value', !scope.value);
scope.value = !scope.value;
});
});
element.on('mouseleave', function(event) {
scope.$apply(function() {
scope.$emit(scope.value, !scope.value);
scope.value = !scope.value;
});
});
console.log("max-screen");
......@@ -33,7 +32,7 @@ angular.module('frontendDdltnApp.animate')
else {
element.on('click', function(event) {
scope.$apply(function() {
scope.$emit(scope.value, !scope.value);
scope.value = !scope.value;
});
});
console.log("min-screen");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment