Version 4.5.0
This commit is contained in:
1 parent
1a0c7fd3c2
commit
f79dcf067a
3791 files changed
+248032
-76372
No files matched your search
@@ -47,8 +47,8 @@
|
||||
var maxWidthElem = document.querySelector('[data-embedInfo-maxSize]');
|
||||
|
||||
if( maxWidthElem ){
|
||||
_embedMaxWidth = parseInt( maxWidthElem.getAttribute('data-embedInfo-maxSize') );
|
||||
maxWidthElem.style.maxWidth = _embedMaxWidth + "px";
|
||||
_embedMaxWidth = maxWidthElem.getAttribute('data-embedInfo-maxSize');
|
||||
maxWidthElem.style.maxWidth = ( maxWidthElem.getAttribute('data-embedInfo-maxSize').indexOf('%') == -1 ) ? parseInt( _embedMaxWidth ) + "px" : _embedMaxWidth + '%';
|
||||
}
|
||||
|
||||
// Check for any truncated text
|
||||
|
||||
Reference in new issue
Block a user