Commit 5ae8bb20 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

minor fix

parent 5f42d569
...@@ -593,13 +593,12 @@ camInterface.prototype.gotShadow=function() { ...@@ -593,13 +593,12 @@ camInterface.prototype.gotShadow=function() {
var circbuf_fp = gRequests.circbuf_fp; var circbuf_fp = gRequests.circbuf_fp;
if (circbuf_fp){ if (circbuf_fp){
img_port = img_port+"/"+circbuf_fp.replace(/\//ig,""); img_port = img_port+"/"+circbuf_fp.replace(/\//ig,"");
} }
if (jp4obj!=undefined){ if (jp4obj!=undefined){
var tmp = jp4obj.data.getAddr(); var tmp = jp4obj.data.getAddr();
if (img_port!=tmp[1]){ if (img_port!=tmp[1]){
jp4obj.data.setAddr(img_addr,img_port); jp4obj.data.setAddr(img_addr,img_port);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment