mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-30 19:52:31 -04:00
Use else for micro-optimisation
This commit is contained in:
@@ -992,8 +992,7 @@ function xhtmlFooter() {
|
||||
if ( $basename == 'montage' ) {
|
||||
echo output_script_if_exists(array('assets/gridstack/dist/gridstack-all.js'));
|
||||
echo output_script_if_exists(array('assets/jquery.panzoom/dist/jquery.panzoom.js'));
|
||||
}
|
||||
if ( $basename == 'watch' || $basename == 'event') {
|
||||
} else if ( $basename == 'watch' || $basename == 'event') {
|
||||
echo output_script_if_exists(array('assets/jquery.panzoom/dist/jquery.panzoom.js'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user