fix monospace text

This commit is contained in:
John McLear 2013-03-01 23:33:24 +00:00
parent cadb671ae1
commit 4e205fe0af

View file

@ -17,11 +17,9 @@ describe("font select", function(){
var $viewfontmenu = chrome$("#viewfontmenu"); var $viewfontmenu = chrome$("#viewfontmenu");
var $monospaceoption = $viewfontmenu.find("[value=monospace]"); var $monospaceoption = $viewfontmenu.find("[value=monospace]");
console.log($monospaceoption);
//select monospace and fire change event //select monospace and fire change event
$monospaceoption.attr('selected','selected'); $monospaceoption.attr('selected','selected');
// $viewfontmenu.change(); $viewfontmenu.change();
//check if font changed to monospace //check if font changed to monospace
var fontFamily = inner$("body").css("font-family").toLowerCase(); var fontFamily = inner$("body").css("font-family").toLowerCase();