small fix to small fixes
This would compare false to 'catalog'. Not what you wanted. The download link is disabled in Firefox only because the current implementation doesn't work there.
This commit is contained in:
parent
823464ce64
commit
c9016ff4f1
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 4chan X - Version 1.7.3 - 2014-04-07
|
||||
* 4chan X - Version 1.7.3 - 2014-04-08
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* 4chan X - Version 1.7.3 - 2014-04-07
|
||||
* 4chan X - Version 1.7.3 - 2014-04-08
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
@ -238,7 +238,7 @@
|
||||
'Highlight Own Posts': [false, 'Highlights own posts if Mark Quotes of You is enabled.'],
|
||||
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
|
||||
'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'],
|
||||
'Quote Threading': [true, 'Thread conversations']
|
||||
'Quote Threading': [false, 'Thread conversations']
|
||||
}
|
||||
},
|
||||
imageExpansion: {
|
||||
@ -9695,6 +9695,7 @@
|
||||
this.shortcut = sc = $.el('a', {
|
||||
id: 'watcher-link',
|
||||
textContent: 'Watcher',
|
||||
title: 'Thread Watcher',
|
||||
href: 'javascript:;',
|
||||
className: 'disabled fa fa-eye'
|
||||
});
|
||||
@ -12645,6 +12646,7 @@
|
||||
link = $.el('a', {
|
||||
className: 'settings-link fa fa-wrench',
|
||||
textContent: 'Settings',
|
||||
title: '4chan X Settings',
|
||||
href: 'javascript:;'
|
||||
});
|
||||
$.on(link, 'click', Settings.open);
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// Generated by CoffeeScript
|
||||
/*
|
||||
* 4chan X - Version 1.7.3 - 2014-04-07
|
||||
* 4chan X - Version 1.7.3 - 2014-04-08
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
@ -214,7 +214,7 @@
|
||||
'Highlight Own Posts': [false, 'Highlights own posts if Mark Quotes of You is enabled.'],
|
||||
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
|
||||
'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'],
|
||||
'Quote Threading': [true, 'Thread conversations']
|
||||
'Quote Threading': [false, 'Thread conversations']
|
||||
}
|
||||
},
|
||||
imageExpansion: {
|
||||
@ -9692,6 +9692,7 @@
|
||||
this.shortcut = sc = $.el('a', {
|
||||
id: 'watcher-link',
|
||||
textContent: 'Watcher',
|
||||
title: 'Thread Watcher',
|
||||
href: 'javascript:;',
|
||||
className: 'disabled fa fa-eye'
|
||||
});
|
||||
@ -12648,6 +12649,7 @@
|
||||
link = $.el('a', {
|
||||
className: 'settings-link fa fa-wrench',
|
||||
textContent: 'Settings',
|
||||
title: '4chan X Settings',
|
||||
href: 'javascript:;'
|
||||
});
|
||||
$.on(link, 'click', Settings.open);
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
DownloadLink =
|
||||
init: ->
|
||||
return if !g.VIEW is 'catalog' or !Conf['Menu'] or !Conf['Download Link']
|
||||
return if g.VIEW is 'catalog' or !Conf['Menu'] or !Conf['Download Link']
|
||||
|
||||
a = $.el 'a',
|
||||
className: 'download-link'
|
||||
@ -13,4 +13,4 @@ DownloadLink =
|
||||
return false unless file
|
||||
a.href = file.URL
|
||||
a.download = file.name
|
||||
true
|
||||
true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user