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

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrantje <brantje@gmail.com>2017-02-21 23:44:36 +0300
committerbrantje <brantje@gmail.com>2017-02-22 20:02:55 +0300
commitacedaf15356b8866d067a8a28165a271c25c589f (patch)
tree01348613f9e6c5797e1e9a4c5cc9b053db234b11 /js/app/directives
parentf55299ffba2624e2ab4d2a2e9b28feed4df761e8 (diff)
Code style fixes
Diffstat (limited to 'js/app/directives')
-rw-r--r--js/app/directives/clickdisable.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/app/directives/clickdisable.js b/js/app/directives/clickdisable.js
index a9f25645..ddf97766 100644
--- a/js/app/directives/clickdisable.js
+++ b/js/app/directives/clickdisable.js
@@ -31,8 +31,8 @@
*/
angular.module('passmanApp')
.directive('clickDisable', function () {
- return function (scope, element, attrs) {
- element.bind("click", function (event) {
+ return function (scope, element) {
+ element.bind("click", function () {
element.prepend('<i class="fa fa-spin fa-spinner"></i>&nbsp;');
element.attr('disabled','disabled');
});