Closed nohn closed 11 years ago
That looks like a BOM for files encoded with UTF-8. Running a search for BOM using the command line from this StackOverflow question I found a BOM in spectrum.css and spectrum.js.
What happens when you delete all.js and refresh selfoss? all.js will be generated new automatically by selfoss.
Well I did find. See pull request #144
Latest git master fails in Chrome with the mentioned Javascript error, code in question is ""
(function($){$.fn.colorByBrightness=function(){$(this).each(function(index,item){var item=$(item);var color=item.css("background-color");if(color==null){return;} color=color.match(/\d+/g);var r=parseInt(color[0]);var g=parseInt(color[1]);var b=parseInt(color[2]);var yiq=((r_299)+(g_587)+(b*114))/1000;var newColor=(yiq>=128)?'#555':'#EEE';item.css("color",newColor);});}})(jQuery);
 (function(window,$,undefined){var defaultOpts={beforeShow:noop,move:noop,change:noop,show:noop,hide:noop,color:false,flat:false,showInput:false,showButtons:true,clickoutFiresChange:false,showInitial:false,showPalette:fal