Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

ladda-spinner duplicated #35

Open
wizidot opened this issue Nov 5, 2014 · 0 comments
Open

ladda-spinner duplicated #35

wizidot opened this issue Nov 5, 2014 · 0 comments

Comments

@wizidot
Copy link

wizidot commented Nov 5, 2014

Hi,
I've see that the span.ladda-spinner is created every time the button is pressed. So if you click more than once, you have lot of unused elements.
tested on chrome 38.0.2125.104 m
thanks

RobMarkiewka pushed a commit to RobMarkiewka/ladda-bootstrap that referenced this issue Sep 20, 2015
This is a proposed fix for issue msurguy#35 - duplicated spinner.  When calling the new remove function, the spinner is removed from the DOM, preventing a build up of duplicate spinners.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant