Remove dead and leaky global functions

This commit is contained in:
Joshua Peek
2011-09-27 14:48:38 -05:00
parent 1f948e30d8
commit be9529faee
@@ -41,7 +41,9 @@ $(document).ready(function() {
if ($('#wiki-wrapper').hasClass('history')) {
$('#wiki-history td.checkbox input').each(function() {
$(this).click(highlightChecked);
$(this).click(function() {
nodeSelector.checkNode($(this));
});
if ( $(this).is(':checked') ) {
nodeSelector.checkNode($(this));
}
@@ -161,29 +163,3 @@ var nodeSelector = {
}
};
function highlightOn() {
$(this).parent().parent().animate({
backgroundColor: '#ffffea',
duration: 400
});
}
function highlightOff() {
var color = '#ebf2f6';
if ($(this).parent().parent().hasClass('alt-row')) {
color = '#f3f7fa';
}
$(this).parent().parent().animate({
backgroundColor: color,
duration: 400
});
}
function highlightChecked() {
nodeSelector.checkNode($(this));
}
function initMathJax() {
}