git-svn-id: https://develop.svn.wordpress.org/trunk@2587 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e3cdf255e0
commit
0a7ec26175
@ -251,7 +251,7 @@ function edSpell(myField) {
|
||||
if (word == '') {
|
||||
word = prompt('Enter a word to look up:', '');
|
||||
}
|
||||
if (word != '') {
|
||||
if (word !== null && /^\w[\w ]*$/.test(word)) {
|
||||
window.open('http://www.answers.com/' + escape(word));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user