forked from saurabh/orbit4-5
removed script form html sdk
This commit is contained in:
parent
f13312ddb6
commit
b5233da7e8
|
@ -25,11 +25,3 @@
|
||||||
<div class="w-ad-banner__caption"></div>
|
<div class="w-ad-banner__caption"></div>
|
||||||
<ul class="w-ad-banner__pager"></ul>
|
<ul class="w-ad-banner__pager"></ul>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
|
||||||
(function($) {
|
|
||||||
// Get link data-attribute and make the banner clickable
|
|
||||||
$('.w-ad-banner__slide').not('[data-link=""]').addClass('cursor').on("click",function(){
|
|
||||||
window.open($(this).data("link"),"_blank");
|
|
||||||
})
|
|
||||||
}(jQuery));
|
|
||||||
</script>
|
|
||||||
|
|
|
@ -24,11 +24,3 @@
|
||||||
</div>
|
</div>
|
||||||
<ul class="w-ad-banner__pager"></ul>
|
<ul class="w-ad-banner__pager"></ul>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
|
||||||
(function($) {
|
|
||||||
// Get link data-attribute and make the banner clickable
|
|
||||||
$('.w-ad-banner__slide').not('[data-link=""]').addClass('cursor').on("click",function(){
|
|
||||||
window.open($(this).data("link"),"_blank");
|
|
||||||
})
|
|
||||||
}(jQuery));
|
|
||||||
</script>
|
|
||||||
|
|
Loading…
Reference in New Issue