Skip to content

Instantly share code, notes, and snippets.

@evandocarmo
Last active August 12, 2017 00:49
Show Gist options
  • Save evandocarmo/acc02b3c29a327105f37c178fa1aa8de to your computer and use it in GitHub Desktop.
Save evandocarmo/acc02b3c29a327105f37c178fa1aa8de to your computer and use it in GitHub Desktop.
ANSWER: The intention of the code is to hide block letter b, where the target of the anchor tag is NOT blank. However,
there is a small typo causing a bug. The original code is as follows: **/
$("div a[target!='_blank"]").hide();
The double quotes after blank cose the selector, causing a bug. The correct code would be:
$("div a[target!='_blank']").hide();
Which should work fine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment