mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-26 16:28:31 -04:00
Use else for micro-optimisation
This commit is contained in:
1 parent
743e31bbcf
commit
fdf4d83e02
1 file changed
+1
-2
@@ -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