JAVASCRIPT   20

enable s blocks

Guest on 8th June 2022 09:00:11 AM

  1. /*
  2.  * Enables HTML block elements if javascript support is enabled
  3.  * @since 2012-12-01
  4.  * $Id: enable-js-blocks.js 585 2021-01-27 01:17:39Z the_ferg $
  5.  */
  6. $(function(){$('[class*="js-enabled"]').each(function(){$(this).removeClass("js-enabled");});});

Raw Paste


Login or Register to edit or fork this paste. It's free.