Merge pull request #3062 from pukhrajbal/master
Blurriness and duplication of fpmenu
This commit is contained in:
commit
4889b0c0f6
|
@ -116,7 +116,7 @@ body.fpmenu #fpmenu {
|
||||||
}
|
}
|
||||||
#fpmenu .forgot {
|
#fpmenu .forgot {
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
margin-top: 5px;
|
margin-top: 4px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
#fpmenu .forgot a {
|
#fpmenu .forgot a {
|
||||||
|
|
|
@ -612,9 +612,10 @@ lichess.topMenuIntent = function() {
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#ham-plate').one('mouseover click', function() {
|
$('#ham-plate').one('mouseover', function() {
|
||||||
$('body').append($('<div id=fpmenu>').load('/fpmenu'));
|
|
||||||
lichess.loadCss('/assets/stylesheets/fpmenu.css');
|
lichess.loadCss('/assets/stylesheets/fpmenu.css');
|
||||||
|
}).one('click', function() {
|
||||||
|
$('body').append($('<div id=fpmenu>').load('/fpmenu'));
|
||||||
}).click(function() {
|
}).click(function() {
|
||||||
document.body.classList.toggle('fpmenu');
|
document.body.classList.toggle('fpmenu');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue