diff --git a/js/options.js b/js/options.js index fa615d3..39246e0 100644 --- a/js/options.js +++ b/js/options.js @@ -222,6 +222,9 @@ var TwisterOptions = function() $('#language').val( this.getOption('locLang', 'auto') ); $('#language').on('change', function() { $.Options.setOption('locLang', $(this).val()); + if($(this).val() != 'auto') { + twisterRpc("setpreferredspamlang", [$(this).val()]); + } location.reload(); }) }