Skip to content

Commit

Permalink
fix bug of nipple in Android
Browse files Browse the repository at this point in the history
  • Loading branch information
DeqingSun committed Jul 7, 2017
1 parent a2b7094 commit da7dbeb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jslib/ui_init.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ function uiInit() {

function switchMouseUI(value) {
if (value) {
document.getElementById('mouse_joystick').style.display = 'initial';
document.getElementById('mouse_left').style.display = 'initial';
document.getElementById('mouse_right').style.display = 'initial';
document.getElementById('mouse_joystick').style.display = '';
document.getElementById('mouse_left').style.display = '';
document.getElementById('mouse_right').style.display = '';
} else {
document.getElementById('mouse_joystick').style.display = 'none';
document.getElementById('mouse_left').style.display = 'none';
Expand All @@ -129,7 +129,7 @@ function switchMouseUI(value) {

function switchKeyboardUI(value) {
if (value) {
document.getElementById('keyboard_container').style.display = 'initial';
document.getElementById('keyboard_container').style.display = '';
} else {
document.getElementById('keyboard_container').style.display = 'none';
}
Expand Down

0 comments on commit da7dbeb

Please sign in to comment.