Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Added: Jan 27, 2018 3:00 AM
Views: 12
jQuery remove class by pattern
  1. $preloader.removeClass(function(index, className) {
  2.     return (className.match(/glyphicon-(\w|-)+/g) || []).join(' ');
  3. });