[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linterna-magica-commit] [175] Strips illegal characters in with and hei
From: |
Ivaylo Valkov |
Subject: |
[linterna-magica-commit] [175] Strips illegal characters in with and height for objects extracted from DOM . |
Date: |
Fri, 05 Aug 2011 09:21:12 +0000 |
Revision: 175
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=175
Author: valkov
Date: 2011-08-05 09:21:12 +0000 (Fri, 05 Aug 2011)
Log Message:
-----------
Strips illegal characters in with and height for objects extracted from DOM.
Fixes the controls displacement for some clips in blip.tv
Modified Paths:
--------------
trunk/src/lm_extract_dom_objects.js
Modified: trunk/src/lm_extract_dom_objects.js
===================================================================
--- trunk/src/lm_extract_dom_objects.js 2011-08-05 09:15:16 UTC (rev 174)
+++ trunk/src/lm_extract_dom_objects.js 2011-08-05 09:21:12 UTC (rev 175)
@@ -345,7 +345,7 @@
width = 300;
}
- return width;
+ return parseInt(width);
}
// Find the flash object height
@@ -397,7 +397,7 @@
height = 150;
}
- return height;
+ return parseInt(height);
}
// Searches through array of param and attributes
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [linterna-magica-commit] [175] Strips illegal characters in with and height for objects extracted from DOM .,
Ivaylo Valkov <=