]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
changes size of subtitle div
authorAnna Sobiepanek <annaopensource@gmail.com>
Thu, 1 Jul 2010 22:05:26 +0000 (18:05 -0400)
committerAnna Sobiepanek <annaopensource@gmail.com>
Thu, 1 Jul 2010 22:05:26 +0000 (18:05 -0400)
popcorn.js

index 44a9f2fe7349b3fb15512c866d6afd6cc6531d00..a65b698a7cb9b217371388d2867c9218bc828c81 100644 (file)
     if (!SubtitleCommand.subDiv) {
       SubtitleCommand.subDiv = document.createElement('div');
       
-      var style = 'position:absolute;top:240px;left:1px;color:white;font-weight:bold;font-family:sans-serif;text-shadow:black 2px 2px 6px;font-size:18px;width:80%;';
+      var style = 'position:absolute;top:240px;left:1px;color:white;font-weight:bold;font-family:sans-serif;text-shadow:black 2px 2px 6px;font-size:18px;width:100%;';
       SubtitleCommand.subDiv.setAttribute('style', style);  
       document.getElementById("videoContainer").appendChild(SubtitleCommand.subDiv);      
     }