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

Commit

Permalink
Fixed chrome app
Browse files Browse the repository at this point in the history
  • Loading branch information
zhukov committed Apr 20, 2015
1 parent 6a78641 commit 9734a41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/js/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -2931,7 +2931,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])

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

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 + '>';
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 + '>';

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

Expand Down
3 changes: 2 additions & 1 deletion app/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"webview",
{"fileSystem": ["write"]},
"storage",
"unlimitedStorage"
"unlimitedStorage",
"fullscreen"
],
"icons": {
"16": "img/icons/icon16.png",
Expand Down

0 comments on commit 9734a41

Please sign in to comment.