Implement preview URL
This commit is contained in:
parent
cc052f3b6c
commit
97e7b16daf
|
@ -1,3 +1,13 @@
|
|||
/*
|
||||
* Behavior: preview=1
|
||||
*/
|
||||
|
||||
$(function () {
|
||||
if (~window.location.search.indexOf('preview=1')) {
|
||||
$('.SideAd, .HeadlineAd').remove()
|
||||
}
|
||||
})
|
||||
|
||||
/*
|
||||
* Behavior: Wrapping
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue