add some conditional classes and behaviour for internet explorer
This commit is contained in:
Vendored
+6
@@ -6,6 +6,7 @@ define(
|
||||
var is_initialized = false;
|
||||
var signals;
|
||||
var controls;
|
||||
var is_ie = document.querySelector( 'html' ).classList.contains( 'somewhatokie' );
|
||||
|
||||
function init( shared )
|
||||
{
|
||||
@@ -24,6 +25,11 @@ define(
|
||||
|
||||
control.addEventListener( 'input', controlUpdated, false );
|
||||
|
||||
if ( is_ie )
|
||||
{
|
||||
control.addEventListener( 'change', controlUpdated, false );
|
||||
}
|
||||
|
||||
updateValue( getInputKey( control.id ), control.value );
|
||||
updateInput( getCorrespondingInput( control.id ), control.value );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user