Skip to content

Instantly share code, notes, and snippets.

@bilalucar
Created June 7, 2017 12:41
Show Gist options
  • Save bilalucar/824bea3a9da248ebc1498ba3d94fc7d8 to your computer and use it in GitHub Desktop.
Save bilalucar/824bea3a9da248ebc1498ba3d94fc7d8 to your computer and use it in GitHub Desktop.
Medium Menu -6
function onMouseDown() {
document.getSelection().removeAllRanges();
var shareBox = document.querySelector('#shareBox');
if (shareBox !== null)
shareBox.remove();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment