Minor fix for /f/

Highlighted posts had an overlap with the highlighting and the fileInfo.
This commit is contained in:
Brandon 2014-03-05 13:36:10 -08:00
parent 5e10d45f4b
commit 2d3e935a34
4 changed files with 14 additions and 8 deletions

View File

@ -1,5 +1,5 @@
/*
* appchan x - Version 2.8.13 - 2014-02-23
* appchan x - Version 2.8.13 - 2014-03-05
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE

View File

@ -24,7 +24,7 @@
// ==/UserScript==
/*
* appchan x - Version 2.8.13 - 2014-02-23
* appchan x - Version 2.8.13 - 2014-03-05
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -14752,11 +14752,12 @@
}
},
initReady: function() {
var nav, sauceLink, swfName;
var fileFix, nav, sauceLink, swfName;
$.globalEval('SWFEmbed.init()');
if (g.VIEW !== 'thread') {
return;
}
fileFix = $('.fileInfo');
swfName = $('.fileText > a');
nav = $('.navLinks');
sauceLink = $.el('a', {
@ -14764,7 +14765,8 @@
href: "http://eye.swfchan.com/search/?q=" + swfName.textContent
});
$.rmAll(nav);
return $.add(nav, [$.tn('['), sauceLink, $.tn(']')]);
$.add(nav, [$.tn('['), sauceLink, $.tn(']')]);
return fileFix.style.paddingLeft = '5px';
}
};

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript
/*
* appchan x - Version 2.8.13 - 2014-02-23
* appchan x - Version 2.8.13 - 2014-03-05
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -14755,11 +14755,12 @@
}
},
initReady: function() {
var nav, sauceLink, swfName;
var fileFix, nav, sauceLink, swfName;
$.globalEval('SWFEmbed.init()');
if (g.VIEW !== 'thread') {
return;
}
fileFix = $('.fileInfo');
swfName = $('.fileText > a');
nav = $('.navLinks');
sauceLink = $.el('a', {
@ -14767,7 +14768,8 @@
href: "http://eye.swfchan.com/search/?q=" + swfName.textContent
});
$.rmAll(nav);
return $.add(nav, [$.tn('['), sauceLink, $.tn(']')]);
$.add(nav, [$.tn('['), sauceLink, $.tn(']')]);
return fileFix.style.paddingLeft = '5px';
}
};

View File

@ -8,10 +8,12 @@ Flash =
return unless g.VIEW is 'thread'
fileFix = $ '.fileInfo'
swfName = $ '.fileText > a'
nav = $ '.navLinks'
sauceLink = $.el 'a',
textContent: 'Check Sauce on SWFCHAN'
href: "http://eye.swfchan.com/search/?q=#{swfName.textContent}"
$.rmAll nav
$.add nav, [$.tn('['), sauceLink, $.tn(']')]
$.add nav, [$.tn('['), sauceLink, $.tn(']')]
fileFix.style.paddingLeft = '5px'