summaryrefslogtreecommitdiff
path: root/static/js/lib.js
blob: 43b0dc8b11dc59929cdb341263c89f41ac531c43 (plain)
1
2
3
4
5
6
jQuery.fn.extend({
    // copies an object and removes 'id' and 'class' values
    copy: function() { 
        return this.clone().removeAttr("id").removeAttr("class"); 
    }
});