summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/js/NVR.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/js/NVR.js b/www/js/NVR.js
index f1c369c3..a9b552e7 100644
--- a/www/js/NVR.js
+++ b/www/js/NVR.js
@@ -2674,7 +2674,10 @@ angular.module('zmApp.controllers')
//console.log("API VERSION RETURNED: " + JSON.stringify(success));
$rootScope.apiValid = true;
- if (versionCompare(success.data.version, '1.32.0') != -1) {
+ if (versionCompare(success.data.version, '1.34.0') != -1) {
+ debug("objdetect supported in image.php");
+ snapshotFrame = 'objdetect';
+ } else if (versionCompare(success.data.version, '1.32.0') != -1) {
debug("snapshot supported in image.php");
snapshotFrame = 'snapshot';
} else {