View gist:5a91b2feb5a511608eecc30d9ac79297
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Path pattern: /issues/ | |
// Type : JavaScript | |
$(function() { | |
var ec_observer = new MutationObserver(function() {enhance_checkbox()}); | |
var ec_target = document.getElementById('all_attributes'); | |
ec_observer.observe(ec_target, { attributes: false, childList: true, characterData: false }); | |
function enhance_checkbox() { | |
$('.check_box_group') | |
.each(function() { |