This commit is contained in:
gorhill 2015-04-24 07:12:12 -04:00
parent 5fbbec6f85
commit 0513c4fd27
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ var onRootFrameHeadersReceived = function(details) {
// Check if the main_frame is a download
// ...
if ( headerValue(details.responseHeaders, 'content-disposition').lastIndexOf('attachment', 0) === 0 ) {
if ( headerValue(details.responseHeaders, 'content-type').lastIndexOf('application/x-', 0) === 0 ) {
µb.tabContextManager.unpush(tabId, details.url);
}