Fix preview inside options for File Info. Update changelog.
This commit is contained in:
parent
abea2d7c83
commit
8bc1a4c176
@ -2332,6 +2332,7 @@
|
||||
return $.id('backlinkPreview').textContent = conf['backlink'].replace(/%id/, '123456789');
|
||||
},
|
||||
fileInfo: function() {
|
||||
FileInfo.ffType = this.name === 'fileInfoR' ? 0 : 1;
|
||||
FileInfo.data = {
|
||||
link: '<a href="javascript:;">1329791824.png</a>',
|
||||
size: 996,
|
||||
@ -2340,7 +2341,7 @@
|
||||
filename: 'Untitled.png'
|
||||
};
|
||||
FileInfo.funks = FileInfo.setFormats();
|
||||
return $.id("" + this.name + "Preview").innerHTML = FileInfo.funks[this.name === 'fileInfoR' ? 0 : 1](FileInfo);
|
||||
return $.id("" + this.name + "Preview").innerHTML = FileInfo.funks[FileInfo.ffType](FileInfo);
|
||||
},
|
||||
favicon: function() {
|
||||
Favicon["switch"]();
|
||||
|
||||
11
changelog
11
changelog
@ -1,4 +1,10 @@
|
||||
master
|
||||
-ahodesuka
|
||||
Reply/Thread File Info Formatting:
|
||||
- Link: %l, %L (Original file names are shown inside threads).
|
||||
- Size: %B (Bytes), %K (KB), %M (MB), %s (4chan default).
|
||||
- Resolution/PDF: %r
|
||||
- Original filename: %n, %N.
|
||||
|
||||
2.27.1
|
||||
- Mayhem
|
||||
@ -11,11 +17,6 @@ master
|
||||
- ahodesuka
|
||||
Add Open Reply in New Tab option for replies made from the main board (not dumping).
|
||||
Scroll back up (top of anchor - 42px) when unexpanding images.
|
||||
Reply/Thread File Info Formatting:
|
||||
- Link: %l, %L (Original file names are shown inside threads).
|
||||
- Size: %B (Bytes), %K (KB), %M (MB), %s (4chan default).
|
||||
- Resolution/PDF: %r
|
||||
- Original filename: %n, %N.
|
||||
- Mayhem
|
||||
The Filter now has per filter settings:
|
||||
- Filter the OP only along its thread, replies only, or both.
|
||||
|
||||
@ -1914,6 +1914,7 @@ options =
|
||||
backlink: ->
|
||||
$.id('backlinkPreview').textContent = conf['backlink'].replace /%id/, '123456789'
|
||||
fileInfo: ->
|
||||
FileInfo.ffType = if @name is 'fileInfoR' then 0 else 1
|
||||
FileInfo.data =
|
||||
link : '<a href="javascript:;">1329791824.png</a>'
|
||||
size : 996
|
||||
@ -1921,7 +1922,7 @@ options =
|
||||
resolution: '1366x768'
|
||||
filename : 'Untitled.png'
|
||||
FileInfo.funks = FileInfo.setFormats()
|
||||
$.id("#{@name}Preview").innerHTML = FileInfo.funks[if @name is 'fileInfoR' then 0 else 1] FileInfo
|
||||
$.id("#{@name}Preview").innerHTML = FileInfo.funks[FileInfo.ffType] FileInfo
|
||||
favicon: ->
|
||||
Favicon.switch()
|
||||
unread.update true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user