schacon/showoff — Issue #172: window.print() is overridden by custom showoff function
Author: salimhb
Created: 2012-03-07 22:39:18+00:00
State: open

This code in showoff.js override the default behavior of the window.print() function which is supposed to bring up the browser's print dialog.

var print = function(text) {
removeResults();
var _results = $('

').addClass('results').html($.print(text, {max_string:500}));
$('body').append(_results);
_results.click(removeResults);
};

I suggest that it's renamed to something else.