Index: ssts-web/src/main/webapp/disinfectsystem/test/takeVideoAndImg.js
===================================================================
diff -u -r37890 -r37891
--- ssts-web/src/main/webapp/disinfectsystem/test/takeVideoAndImg.js (.../takeVideoAndImg.js) (revision 37890)
+++ ssts-web/src/main/webapp/disinfectsystem/test/takeVideoAndImg.js (.../takeVideoAndImg.js) (revision 37891)
@@ -217,40 +217,40 @@
video.play();
if (isFirst) {
var html = '';
- if (maxWidth >= 4100) {
+ if (maxWidth > 4096) {
html += '';
html += '';
html += '';
html += '';
html += '';
html += '';
html += '';
- } else if (maxWidth >= 2600) {
+ } else if (maxWidth > 2560 && maxWidth <= 4096) {
html += '';
html += '';
html += '';
html += '';
html += '';
html += '';
- } else if (maxWidth >= 2100) {
+ } else if (maxWidth > 2048 && maxWidth <= 2560) {
html += '';
html += '';
html += '';
html += '';
html += '';
- } else if (maxWidth >= 2000) {
+ } else if (maxWidth > 1920 && maxWidth <= 2048) {
html += '';
html += '';
html += '';
html += '';
- } else if (maxWidth >= 1300) {
+ } else if (maxWidth > 1280 && maxWidth <= 1920) {
html += '';
html += '';
html += '';
- } else if (maxWidth >= 700) {
+ } else if (maxWidth > 640 && maxWidth <= 1280) {
html += '';
html += '';
- } else if (maxWidth >= 500) {
+ } else if (maxWidth > 320 && maxWidth <= 640) {
html += '';
}
html += '';