Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $( ".inner-switch" ).on("click", function() {
- if( $( "body" ).hasClass( "light" )) {
- $( "body" ).removeClass( "light" );
- $( ".inner-switch" ).text( "AV" );
- } else {
- $( "body" ).addClass( "light" );
- $( ".inner-switch" ).text( "PĆ " );
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement