Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit 9734a41

Browse files
committed
Fixed chrome app
1 parent 6a78641 commit 9734a41

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎app/js/services.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2931,7 +2931,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
29312931

29322932
var embedType = webPage.embed_type != 'iframe' ? webPage.embed_type || 'text/html' : 'text/html';
29332933

2934-
var embedHtml = '<' + embedTag + ' src="' + encodeEntities(webPage.embed_url) + '" type="' + encodeEntities(embedType) + '" frameborder="0" border="0" webkitallowfullscreen mozallowfullscreen allowfullscreen width="' + full.width + '" height="' + full.height + '"></' + embedTag + '>';
2934+
var embedHtml = '<' + embedTag + ' src="' + encodeEntities(webPage.embed_url) + '" type="' + encodeEntities(embedType) + '" frameborder="0" border="0" webkitallowfullscreen mozallowfullscreen allowfullscreen width="' + full.width + '" height="' + full.height + '" style="width: ' + full.width + 'px; height: ' + full.height + 'px;"></' + embedTag + '>';
29352935

29362936
full.html = $sce.trustAs('html', embedHtml);
29372937

‎app/manifest.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"webview",
1515
{"fileSystem": ["write"]},
1616
"storage",
17-
"unlimitedStorage"
17+
"unlimitedStorage",
18+
"fullscreen"
1819
],
1920
"icons": {
2021
"16": "img/icons/icon16.png",

0 commit comments

Comments
 (0)