mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
inline-expanding.js: don't set max height
This commit is contained in:
parent
ba424698e0
commit
ef66fd62b4
@ -16,7 +16,6 @@ onready(function(){
|
|||||||
for(var i = 0; i < link.length; i++) {
|
for(var i = 0; i < link.length; i++) {
|
||||||
if(typeof link[i] == "object" && link[i].childNodes[0].src && link[i].className != 'file') {
|
if(typeof link[i] == "object" && link[i].childNodes[0].src && link[i].className != 'file') {
|
||||||
link[i].childNodes[0].style.maxWidth = '95%';
|
link[i].childNodes[0].style.maxWidth = '95%';
|
||||||
link[i].childNodes[0].style.maxHeight = '95%';
|
|
||||||
link[i].onclick = function(e) {
|
link[i].onclick = function(e) {
|
||||||
if(e.which == 2) {
|
if(e.which == 2) {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user