WebHistoryView: Don't try to display PDF files anymore

This used to work, but it probably changed with 1.5.6 or something,
so let's just remove PDF support
This commit is contained in:
Pieter de Bie
2009-01-25 15:38:23 +00:00
parent c890193ab5
commit 31cf9cfbee
+1 -1
View File
@@ -178,7 +178,7 @@ var showDiff = function() {
}
var binaryDiff = function(filename) {
if (filename.match(/\.(png|jpg|pdf|icns|psd)$/i))
if (filename.match(/\.(png|jpg|icns|psd)$/i))
return '<a href="#" onclick="return showImage(this, \'' + filename + '\')">Display image</a>';
else
return "Binary file differs";