button not staying pressed error fix
The problem was the ordering of jquery-ui being below bootstrap.