rawnet/jquery-switch — Issue #4: "slide" event shouldn't be triggered when reverting
Author: 6twenty
Created: 2012-01-05 11:06:10+00:00
State: open

When dragging the handle, the switch will snap back to the previous position unless it has moved more than half way to the other side. In this instance the "slide" event will still be triggered.

Additionally a "revert()" function should be added to the controls object, which should function as the inverse of "toggle()".