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:
ccd0 2014-04-08 19:17:50 -07:00
parent 823464ce64
commit c9016ff4f1
4 changed files with 11 additions and 7 deletions

View File

@ -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. * Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE * https://github.com/ccd0/4chan-x/blob/master/LICENSE

View File

@ -24,7 +24,7 @@
// ==/UserScript== // ==/UserScript==
/* /*
* 4chan X - Version 1.7.3 - 2014-04-07 * 4chan X - Version 1.7.3 - 2014-04-08
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/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.'], 'Highlight Own Posts': [false, 'Highlights own posts if Mark Quotes of You is enabled.'],
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'], 'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'], 'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'],
'Quote Threading': [true, 'Thread conversations'] 'Quote Threading': [false, 'Thread conversations']
} }
}, },
imageExpansion: { imageExpansion: {
@ -9695,6 +9695,7 @@
this.shortcut = sc = $.el('a', { this.shortcut = sc = $.el('a', {
id: 'watcher-link', id: 'watcher-link',
textContent: 'Watcher', textContent: 'Watcher',
title: 'Thread Watcher',
href: 'javascript:;', href: 'javascript:;',
className: 'disabled fa fa-eye' className: 'disabled fa fa-eye'
}); });
@ -12645,6 +12646,7 @@
link = $.el('a', { link = $.el('a', {
className: 'settings-link fa fa-wrench', className: 'settings-link fa fa-wrench',
textContent: 'Settings', textContent: 'Settings',
title: '4chan X Settings',
href: 'javascript:;' href: 'javascript:;'
}); });
$.on(link, 'click', Settings.open); $.on(link, 'click', Settings.open);

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript // 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. * Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/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.'], 'Highlight Own Posts': [false, 'Highlights own posts if Mark Quotes of You is enabled.'],
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'], 'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'], 'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'],
'Quote Threading': [true, 'Thread conversations'] 'Quote Threading': [false, 'Thread conversations']
} }
}, },
imageExpansion: { imageExpansion: {
@ -9692,6 +9692,7 @@
this.shortcut = sc = $.el('a', { this.shortcut = sc = $.el('a', {
id: 'watcher-link', id: 'watcher-link',
textContent: 'Watcher', textContent: 'Watcher',
title: 'Thread Watcher',
href: 'javascript:;', href: 'javascript:;',
className: 'disabled fa fa-eye' className: 'disabled fa fa-eye'
}); });
@ -12648,6 +12649,7 @@
link = $.el('a', { link = $.el('a', {
className: 'settings-link fa fa-wrench', className: 'settings-link fa fa-wrench',
textContent: 'Settings', textContent: 'Settings',
title: '4chan X Settings',
href: 'javascript:;' href: 'javascript:;'
}); });
$.on(link, 'click', Settings.open); $.on(link, 'click', Settings.open);

View File

@ -1,6 +1,6 @@
DownloadLink = DownloadLink =
init: -> 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', a = $.el 'a',
className: 'download-link' className: 'download-link'
@ -13,4 +13,4 @@ DownloadLink =
return false unless file return false unless file
a.href = file.URL a.href = file.URL
a.download = file.name a.download = file.name
true true