removed script form html sdk

This commit is contained in:
rulingcom 2014-11-13 16:35:29 +08:00
parent f13312ddb6
commit b5233da7e8
2 changed files with 0 additions and 16 deletions

View File

@ -25,11 +25,3 @@
<div class="w-ad-banner__caption"></div>
<ul class="w-ad-banner__pager"></ul>
</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>

View File

@ -24,11 +24,3 @@
</div>
<ul class="w-ad-banner__pager"></ul>
</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>