Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<script>
document.addEventListener('DOMContentLoaded', function(){
if(hq.isMobile()) {
var campaignContent = document.getElementById('campaign_content');
if(campaignContent) {
var campaignSidebar = document.getElementById('campaign_sidebar');
var stats = document.getElementById('stats');
campaignSidebar.insertBefore(campaignContent, stats);
campaignContent.style.marginBottom = '2em';
}
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.