Skip to content

Instantly share code, notes, and snippets.

@alexbiehl
Created September 1, 2017 12:41
Show Gist options
  • Save alexbiehl/afcbf3df8d1e9734242281cb72ed1db0 to your computer and use it in GitHub Desktop.
Save alexbiehl/afcbf3df8d1e9734242281cb72ed1db0 to your computer and use it in GitHub Desktop.
function(toggle) {
var trigger = document.getElementById('quickjump-trigger');
if (trigger) {
trigger.onclick = function(e) { e.preventDefault(); toggle(); };
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment