--- loncom/html/adm/spellcheck/js/jquery.spellchecker.js 2012/08/28 10:18:44 1.1
+++ loncom/html/adm/spellcheck/js/jquery.spellchecker.js 2012/09/24 10:31:45 1.2
@@ -56,6 +56,12 @@
self.hideBox();
});
},
+ option : function(newopts) {
+ for (optname in newopts) {
+ this.options[optname] = newopts[optname];
+ }
+ return this;
+ },
// checks a chunk of text for bad words, then either shows the words below the original element (if texarea) or highlights the bad words
check : function(callback){