Fix designer exit full screen mode icon and text back to enter mode

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2019-09-08 13:36:02 +02:00
parent baada9571f
commit 631de237a3
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -543,6 +543,9 @@ function Toggle_fullscreen () {
value_sent = 'on'; value_sent = 'on';
$content.fullScreen(true); $content.fullScreen(true);
} else { } else {
$img.attr('src', $img.data('enter'))
.attr('title', $span.data('enter'));
$span.text($span.data('enter'));
$content.fullScreen(false); $content.fullScreen(false);
value_sent = 'off'; value_sent = 'off';
} }