Skip to content

Commit

Permalink
remove add vk scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Petrash committed Jul 31, 2017
1 parent be3d259 commit 36976fe
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
24 changes: 12 additions & 12 deletions src/Volley/FaceBundle/Resources/views/Default/includes/vk.html.twig
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<div class="row">
<div class="col-lg-12 box text-center">
<div style="display: inline-block">
<script type="text/javascript" src="//vk.com/js/api/openapi.js?121"></script>
{#<script type="text/javascript" src="//vk.com/js/api/openapi.js?121"></script>#}
<!-- VK Widget -->
<div id="vk_groups"></div>
<script type="text/javascript">
VK.Widgets.Group("vk_groups", {
mode: 0,
width: "260",
height: "215",
color1: 'FFFFFF',
color2: '2B587A',
color3: '5B7FA6'
}, 24019026);
</script>
{#<div id="vk_groups"></div>#}
{#<script type="text/javascript">#}
{#VK.Widgets.Group("vk_groups", {#}
{#mode: 0,#}
{#width: "260",#}
{#height: "215",#}
{#color1: 'FFFFFF',#}
{#color2: '2B587A',#}
{#color3: '5B7FA6'#}
{#}, 24019026);#}
{#</script>#}
</div>
</div>
</div>
9 changes: 4 additions & 5 deletions src/Volley/FaceBundle/Resources/views/Default/post.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,10 @@
{% block head_scripts %}
{{ parent() }}
<!-- Put this script tag to the <head> of your page -->
<script type="text/javascript" src="//vk.com/js/api/openapi.js?127"></script>

<script type="text/javascript">
VK.init({apiId: 4319865, onlyWidgets: true});
</script>
{#<script type="text/javascript" src="//vk.com/js/api/openapi.js?127"></script>#}
{#<script type="text/javascript">#}
{#VK.init({apiId: 4319865, onlyWidgets: true});#}
{#</script>#}
{% endblock %}

{% block scripts %}
Expand Down

0 comments on commit 36976fe

Please sign in to comment.