Skip to content

Commit

Permalink
Merge pull request #35 from Isakots/bugfix/fb-plugin-display-bug
Browse files Browse the repository at this point in the history
displaying plugin in an iframe
  • Loading branch information
Isakots authored Oct 5, 2020
2 parents 30c5f70 + 5064d87 commit fa7d41d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 1 addition & 6 deletions src/main/angular/src/app/layout/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@

<div class="col-lg-3 float-left not-visible-on-mobile">
<div class="container">
<div class="fb-page" data-href="https://www.facebook.com/martoskondi/" data-tabs="timeline, events, messages"
data-width="400" data-height="700" data-small-header="true" data-adapt-container-width="true"
data-hide-cover="false" data-show-facepile="true">
<blockquote cite="https://www.facebook.com/martoskondi/" class="fb-xfbml-parse-ignore"><a
href="https://www.facebook.com/martoskondi/">Martos Kondi Kör</a></blockquote>
</div>
<iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Fmartoskondi&tabs=timeline%2C%20events%2C%20messages&width=340&height=700&small_header=true&adapt_container_width=true&hide_cover=false&show_facepile=false&appId" width="400" height="700" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allow="encrypted-media"></iframe>
</div>
</div>
</div>
Expand Down
2 changes: 0 additions & 2 deletions src/main/angular/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v7.0"></script>
<app-root></app-root>
</body>
</html>

0 comments on commit fa7d41d

Please sign in to comment.