From 1dc66cc81c8bdbb87838f13a642d81224f57271e Mon Sep 17 00:00:00 2001 From: Nicholas Cooper Date: Tue, 1 Dec 2015 10:24:42 +0000 Subject: [PATCH] auto blur button on click, btn-default disabled and focus shows spinner white on white background, blur allows background to change colour and spinner to appear as white on grey --- js/ladda.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ladda.js b/js/ladda.js index 40f2960..39766f6 100755 --- a/js/ladda.js +++ b/js/ladda.js @@ -76,7 +76,7 @@ spinner.spin( spinnerWrapper ); this.setProgress( 0 ); - + button.blur(); return this; // chain },