forked from leftypol/leftypol
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
This commit is contained in:
commit
168a4d73cc
20 changed files with 202 additions and 173 deletions
|
@ -17,6 +17,9 @@ onready(function(){
|
|||
|
||||
for (var i = 0; i < link.length; i++) {
|
||||
if (typeof link[i] == "object" && link[i].childNodes && typeof link[i].childNodes[0] !== 'undefined' && link[i].childNodes[0].src && link[i].className != 'file') {
|
||||
if (window.jQuery && !$(link).prev().hasClass('fileinfo')) {
|
||||
continue;
|
||||
}
|
||||
link[i].childNodes[0].style.maxWidth = '95%';
|
||||
link[i].onclick = function(e) {
|
||||
if (this.childNodes[0].className == 'hidden')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue