Merge pull request #18807 from shivapoudel/remove/store-notice-js

Remove demo store notice JS
This commit is contained in:
Mike Jolley 2018-02-05 10:35:11 +00:00 committed by GitHub
commit 82cde19628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 10 deletions

View File

@ -281,15 +281,6 @@ jQuery( function ( $ ) {
}).change();
});
// Demo store notice
$( 'input#woocommerce_demo_store' ).change(function() {
if ( $( this ).is( ':checked' ) ) {
$( '#woocommerce_demo_store_notice' ).closest( 'tr' ).show();
} else {
$( '#woocommerce_demo_store_notice' ).closest( 'tr' ).hide();
}
}).change();
// Reviews.
$( 'input#woocommerce_enable_reviews' ).change(function() {
if ( $( this ).is( ':checked' ) ) {

File diff suppressed because one or more lines are too long