mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
git-svn-id: https://develop.svn.wordpress.org/trunk@2587 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user