function squirrelspell_optpage_register_block() {
global $optpage_blocks;
/**
- * soupNazi checks if this browser is capable of using the plugin.
+ * Check if this browser is capable of using the plugin
*/
- if (!soupNazi()) {
+ if (checkForJavascript()) {
/**
* The browser checks out.
* Register Squirrelspell with the $optionpages array.
* Check if this browser is capable of displaying SquirrelSpell
* correctly.
*/
- if (!soupNazi()) {
+ if (checkForJavascript()) {
/**
* Some people may choose to disable javascript even though their
* browser is capable of using it. So these freaks don't complain,