Bug 8251 fix

double-click a blank part of the article page still opening the term search window, with no keyword to search.
I fix this adding an "if" in the javascript that not open the search window when there are no text selected