Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.ibox-action__icon_print').on('click', function() {
- $('body').addClass('print');
- $(this).after('<span class="ibox-action__print-back">Вернуться назад</span>');
- });
- $(document).on('click', '.ibox-action__print-back', function() {
- $(this).remove()
- $('body').removeClass('print');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement