mgcrea/angular-strap — pull request #312 by rashidkpc (2013-12-03 21:12:17+00:00)
Title: Tab flapping fix

If the model is rapidly updated while the browser is under load it is possible for activeTab to be assigned a new value before the code within the setTimeout executes.

This can cause the interface to switch back and forth between tabs in an uncontrolled manner. This code simply checks if activeTab is still what we expect it to be before making the change