Rough in fullscreen mode on montage

This commit is contained in:
Isaac Connor 2021-11-09 16:12:39 -05:00
parent acff4fb9c0
commit dc9f7b4d1d
2 changed files with 8 additions and 0 deletions

View File

@ -317,5 +317,10 @@ function initPage() {
} }
selectLayout('#zmMontageLayout'); selectLayout('#zmMontageLayout');
} }
function watchFullscreen() {
const content = document.getElementById('content');
openFullscreen(content);
}
// Kick everything off // Kick everything off
$j(document).ready(initPage); $j(document).ready(initPage);

View File

@ -206,6 +206,9 @@ if ( canView('System') ) {
&nbsp;<?php echo translate('Snapshot') ?> &nbsp;<?php echo translate('Snapshot') ?>
</button> </button>
<?php } ?> <?php } ?>
<button type="button" id="fullscreenBtn" title="<?php echo translate('Fullscreen') ?>" class="avail" data-on-click="watchFullscreen">
<i class="material-icons md-18">fullscreen</i>
</button>
</form> </form>
</div> </div>
</div> </div>