Implement preview URL

This commit is contained in:
Rico Sta. Cruz 2017-09-08 03:47:36 +08:00
parent cc052f3b6c
commit 97e7b16daf
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,13 @@
/*
* Behavior: preview=1
*/
$(function () {
if (~window.location.search.indexOf('preview=1')) {
$('.SideAd, .HeadlineAd').remove()
}
})
/*
* Behavior: Wrapping
*/