Version 4.2.0
This commit is contained in:
1 parent
0dc2aee5ed
commit
96997ddd8e
2074 files changed
+125454
-55780
No files matched your search
+3
-2
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* IPS external widgets loader
|
||||
*
|
||||
* http://www.invisionpower.com
|
||||
* https://www.invisioncommunity.com
|
||||
*/
|
||||
( function () {
|
||||
"use strict";
|
||||
@@ -125,6 +125,7 @@
|
||||
|
||||
var widgetID = widgetAttributes.id.replace( 'block_', '' );
|
||||
var blockID = widgetAttributes['data-blockid'];
|
||||
var blockParams = widgetAttributes['data-blockparams'];
|
||||
|
||||
_widgets[ widgetID ] = {
|
||||
blockID: blockID
|
||||
@@ -134,7 +135,7 @@
|
||||
var iframe;
|
||||
|
||||
iframe = document.createElement('iframe');
|
||||
iframe.src = _baseURL + '?widgetid=' + widgetID + '&blockid=' + blockID;
|
||||
iframe.src = _baseURL + '?widgetid=' + widgetID + '&blockid=' + blockID + ( blockParams ? '&' + blockParams : '' );
|
||||
iframe.id = 'ipsFrame_' + widgetID;
|
||||
iframe.scrolling = 'no';
|
||||
iframe.style.width = '100%';
|
||||
|
||||
Reference in new issue
Block a user