diff options
| author | Jano Slota <jano@alokal.eu> | 2014-07-29 16:18:21 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-08-08 21:52:33 +0200 |
| commit | f14922ca8bf9517ee0891a50bcca68b174c109fb (patch) | |
| tree | 74de82cc8c8510c0a24034c4998fe41eb8a5c9b4 /js | |
| parent | d81a6c49e28133c65d237fc648be7fe323bfd54d (diff) | |
inline-expanding.js: Or is it not after all?
Diffstat (limited to 'js')
| -rw-r--r-- | js/inline-expanding.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/inline-expanding.js b/js/inline-expanding.js index f3be2e2f..862e525e 100644 --- a/js/inline-expanding.js +++ b/js/inline-expanding.js @@ -18,6 +18,7 @@ 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].childNodes[0].className.match(/post-image/) && !link[i].className.match(/file/)) { + link[i].childNodes[0].style.maxWidth = '96%'; link[i].onclick = function(e) { if (this.childNodes[0].className == 'hidden') return false; |
