update control selector

This commit is contained in:
Georg Fischer 2013-09-26 20:38:09 +02:00
parent 9d148d2529
commit 7b00c02a06

View File

@ -13,14 +13,13 @@ define(
if ( shared.feature['query-selector-all'] )
{
controls = document.querySelectorAll( '.control-input' );
controls = document.querySelectorAll( '.control-slider' );
constraints = getConstraints( controls );
random_button = document.getElementById( 'random-button' );
random_button.addEventListener( 'click', buttonClicked, false );
random_button.classList.remove( 'is-hidden' );
}
}
function buttonClicked( event )