fix monospace text
This commit is contained in:
parent
cadb671ae1
commit
4e205fe0af
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue