This repository was archived by the owner on Apr 1, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 2727</ head >
2828< body class ="no-scroll " ng-controller ="webviewPluginCtrl " ng-cloak >
2929< div class ="scrollable ">
30- < iframe ng-src ="{{ url }} " ng-if ="data.content.openInApp && !isWebPlateform " style ="height:100%; width:1px; min-width:100%; " scrolling ="yes " iframe-onload ="iframeLoadedCallBack() " id ="webviewIframe "> </ iframe >
31- </ div >
32- < div class ="text-center link-verified " ng-if ="data && data.content.url && isWebPlateform ">
33- < div class ="col-md-12 ">
34- < span class ="glyphicon glyphicon-ok " aria-hidden ="true "> </ span >
35- < p >
36- We were able to verify the link you provided. The link will only appear on your mobile device.
37- </ p >
38- </ div >
30+ < iframe ng-src ="{{ url }} " ng-if ="data.content.openInApp " style ="height:100%; width:1px; min-width:100%; " scrolling ="{{isWebPlateform ? 'yes':'no'}} " iframe-onload ="iframeLoadedCallBack() " id ="webviewIframe "> </ iframe >
3931</ div >
4032< script >
4133 var webviewPluginApp = angular . module ( 'webviewPlugin' , [ ] ) ;
6456 $scope . data = result . data ;
6557 $scope . url = $sce . trustAsResourceUrl ( content . url ) ;
6658 buildfire . getContext ( function ( err , context ) {
67- $scope . isWebPlateform = false ; // (context.device.platform == "web");
59+ $scope . isWebPlateform = ( context . device . platform == "web" ) ;
6860 if ( ! content . openInApp && content . url ) {
6961 if ( context . device . platform != "web" ) {
7062 buildfire . navigation . openWindow ( content . url , "_system" ) ;
You can’t perform that action at this time.
0 commit comments