inline-expanding.js: 98% it is
This commit is contained in:
parent
f14922ca8b
commit
d65adac580
@ -18,7 +18,7 @@ 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 && typeof link[i].childNodes[0] !== 'undefined' && link[i].childNodes[0].src && link[i].childNodes[0].className.match(/post-image/) && !link[i].className.match(/file/)) {
|
if (typeof link[i] == "object" && link[i].childNodes && typeof link[i].childNodes[0] !== 'undefined' && link[i].childNodes[0].src && link[i].childNodes[0].className.match(/post-image/) && !link[i].className.match(/file/)) {
|
||||||
link[i].childNodes[0].style.maxWidth = '96%';
|
link[i].childNodes[0].style.maxWidth = '98%';
|
||||||
link[i].onclick = function(e) {
|
link[i].onclick = function(e) {
|
||||||
if (this.childNodes[0].className == 'hidden')
|
if (this.childNodes[0].className == 'hidden')
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user