Hiding notice when test begins
parent
088dce30bc
commit
1e87ec531e
|
@ -33,6 +33,7 @@ $( document ).ready( function()
|
||||||
var testcase = rectest.cases[ options['case'] ].testCase();
|
var testcase = rectest.cases[ options['case'] ].testCase();
|
||||||
|
|
||||||
$( this ).parent().hide();
|
$( this ).parent().hide();
|
||||||
|
hideNotice();
|
||||||
|
|
||||||
runner.run( testcase, options, function( history )
|
runner.run( testcase, options, function( history )
|
||||||
{
|
{
|
||||||
|
@ -45,7 +46,18 @@ $( document ).ready( function()
|
||||||
{
|
{
|
||||||
$( '.notice' )
|
$( '.notice' )
|
||||||
.text( str )
|
.text( str )
|
||||||
.addClass( 'active' );
|
.slideDown( 250, function()
|
||||||
|
{
|
||||||
|
$( this ).addClass( 'active' );
|
||||||
|
} );
|
||||||
|
}
|
||||||
|
|
||||||
|
function hideNotice()
|
||||||
|
{
|
||||||
|
$( '.notice' ).slideUp( 250, function()
|
||||||
|
{
|
||||||
|
$( this ).removeClass( 'active' );
|
||||||
|
} );
|
||||||
}
|
}
|
||||||
|
|
||||||
function listCases( presets, $select )
|
function listCases( presets, $select )
|
||||||
|
|
Loading…
Reference in New Issue