Version 5.0.0 beta 1
This commit is contained in:
1 parent
25ddeb65d6
commit
15c7beabc5
6736 files changed
+627902
-497943
No files matched your search
@@ -43,14 +43,6 @@
|
||||
|
||||
_initialHeight = ips.utils.getObjHeight( _div );
|
||||
|
||||
// Do we have a specified maxWidth here?
|
||||
var maxWidthElem = document.querySelector('[data-embedInfo-maxSize]');
|
||||
|
||||
if( maxWidthElem ){
|
||||
_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
|
||||
var truncated = document.querySelectorAll('[data-truncate]');
|
||||
|
||||
@@ -221,6 +213,7 @@
|
||||
var method = pmData.method;
|
||||
} catch (err) {
|
||||
ips.utils.error("iframe: invalid data.");
|
||||
Debug.error(err.message)
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user