Desktop changes
This commit is contained in:
@@ -125,6 +125,8 @@ class ComponentView {
|
||||
|
||||
expired = component.valid_until && component.valid_until <= new Date();
|
||||
|
||||
// expired = true;
|
||||
|
||||
$scope.componentValid = !offlineRestricted && !urlError && !expired;
|
||||
|
||||
if(offlineRestricted) $scope.error = 'offline-restricted';
|
||||
|
||||
@@ -981,10 +981,7 @@ class ComponentManager {
|
||||
if(!iframe) {
|
||||
return;
|
||||
}
|
||||
var width = data.width;
|
||||
var height = data.height;
|
||||
iframe.width = width;
|
||||
iframe.height = height;
|
||||
|
||||
setSize(iframe, data);
|
||||
|
||||
// On Firefox, resizing a component iframe does not seem to have an effect with editor-stack extensions.
|
||||
|
||||
Reference in New Issue
Block a user