Ticket #1306: quicktags.js-unrestrict.patch
File quicktags.js-unrestrict.patch, 502 bytes (added by , 20 years ago) |
---|
-
wp-admin/quicktags.js
251 251 if (word == '') { 252 252 word = prompt('Enter a word to look up:', ''); 253 253 } 254 if (word !== null && /^\w [\w ]*$/.test(word)) {254 if (word !== null && /^\w.*$/.test(word)) { 255 255 window.open('http://www.answers.com/' + escape(word)); 256 256 } 257 257 }