diff --git a/vasl_templates/webapp/static/main.js b/vasl_templates/webapp/static/main.js index 7fcc819..3cbf6e3 100644 --- a/vasl_templates/webapp/static/main.js +++ b/vasl_templates/webapp/static/main.js @@ -385,12 +385,6 @@ $(document).ready( function () { prevHeight[id] = h ; } } ) ; - // FUDGE! Some panels are rendering with the wrong width in IE :-/ - if ( isIE() ) { - var set_width = function($elem) { $elem.width( $elem.parent().width() ) ; } ; - set_width( $("#panel-vc textarea") ) ; - set_width( $("#panel-ssr .content") ) ; - } } ) ; $(window).trigger( "resize" ) ; @@ -785,8 +779,6 @@ function update_page_load_status( id ) // FUDGE! This works around a timing problem during startup, where we unload the current parameters // before the Victory Conditions Trumbowyg control has initialized (and so doesn't get included). gLastSavedScenario = unload_params_for_save( false ) ; - // NOTE: The watermark image appears briefly in IE when reloading the page, but not even - // creating the watermark dynamically and removing it when the page unloads fixes it :-( $("#watermark").fadeIn( 5*1000 ) ; // notify the test suite $("body").append( $("
") ) ; diff --git a/vasl_templates/webapp/static/utils.js b/vasl_templates/webapp/static/utils.js index 4b62859..1e982cf 100644 --- a/vasl_templates/webapp/static/utils.js +++ b/vasl_templates/webapp/static/utils.js @@ -124,12 +124,6 @@ function copyToClipboard( val ) return ; } - // IE-specific code path to prevent textarea being shown while dialog is visible - if ( window.clipboardData && window.clipboardData.setData ) { - clipboardData.setData( "Text", val ) ; - return ; - } - // FUDGE! If a dialog is open, the overlay will stop the copy command from working, // so we attach the