Created
August 23, 2016 14:32
-
-
Save toropanov/5a567daa63cec4f38f24561e4e9f45b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// $(document).on 'click', (e)=> | |
// el_widget = jq('.bprices_widget') | |
// is_widget = el_widget.is(e.target) | |
// is_inside = jq.contains(el_widget[0], e.target) | |
// unless is_widget || is_inside | |
// @elem('.bprices_widget_head_countries').removeClass('opened') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment