tentative to fix dynamic callerid position
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Sun, 3 May 2020 12:06:39 +0000 (14:06 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Sun, 3 May 2020 12:06:39 +0000 (14:06 +0200)
web/briskin5/index.php

index a35bd9b..983fd60 100644 (file)
@@ -131,8 +131,8 @@ window.onload = function() {
   xstm.hbit_set(heartbit);
 
   /* dynamic callerimg positioning */
-  $("callerimg").style.left = (160 - cards_width_d2) + "px";
-  $("callerimg").style.top = (60 - cards_height_d2) + "px";
+  $("callerimg").style.left = (160 - cards_width_d2);
+  $("callerimg").style.top = (60 - cards_height_d2);
 
   window.onbeforeunload = onbeforeunload_cb;
   window.onunload = onunload_cb;