mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-18 03:37:35 +01:00
Disallow multiple Shrink all images appearing
This commit is contained in:
parent
f16f88966c
commit
5e62e7a143
@ -27,7 +27,10 @@ onready(function(){
|
||||
$(this).parent().click();
|
||||
});
|
||||
|
||||
$('hr:first').before('<div id="shrink-all-images" style="text-align:right"><a class="unimportant" href="javascript:void(0)"></a></div>');
|
||||
if (!$('#shrink-all-images').length) {
|
||||
$('hr:first').before('<div id="shrink-all-images" style="text-align:right"><a class="unimportant" href="javascript:void(0)"></a></div>');
|
||||
}
|
||||
|
||||
$('div#shrink-all-images a')
|
||||
.text(_('Shrink all images'))
|
||||
.click(function(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user