text
http://jsfiddle.net/wZ8MC/2/
jQuery(document).ready(functi
That's because has returns a jQuery object and an object is a truthy value in JavaScript, you should use length property:
has
length
if (jQuery('#bad-drifting').has('em').length) {