Skip to content

Instantly share code, notes, and snippets.

@asethwright
Last active December 20, 2015 04:49
Show Gist options
  • Save asethwright/6074073 to your computer and use it in GitHub Desktop.
Save asethwright/6074073 to your computer and use it in GitHub Desktop.
this should fix the https problem
$.getScript('https://www.swarminteractive.com/js/vm.js';, function(e) {
swarms.each(function(i) {
window.openthis = $(this).attr('id');
window.client = null;
window.width = null;
if (openthis.length) {
window.client = 4251;
window.width = $(this).width();
window.secure = true;
vm_open();
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment