forked from leftypol/leftypol
Display inline image when it starts loading,
Rewrote inline-expanding.js to display full image as soon as it starts loading. Modified expand-all-images.js to work with the new change Moved max-width to style.css
This commit is contained in:
parent
26130c43ea
commit
a723ff8e66
3 changed files with 34 additions and 23 deletions
|
@ -34,7 +34,7 @@ onready(function(){
|
|||
$('div#shrink-all-images a')
|
||||
.text(_('Shrink all images'))
|
||||
.click(function(){
|
||||
$('a img.post-image').each(function() {
|
||||
$('a img.full-image').each(function() {
|
||||
if ($(this).parent()[0].dataset.expanded)
|
||||
$(this).parent().click();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue