A very basic fix would be to use one()
instead of bind()
. But why the function is called twice is still open. Ask your browser’s JavaScript inspector.
A very basic fix would be to use one()
instead of bind()
. But why the function is called twice is still open. Ask your browser’s JavaScript inspector.