Permalink
Browse files

Bug 815792 - Showing backspace in the emergency-call screen

  • Loading branch information...
1 parent f4e4888 commit 23966d675a7422ab14fdc3e9ce388d73eebcb369 @albertopq albertopq committed Dec 6, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 apps/system/emergency-call/js/keypad.js
View
6 apps/system/emergency-call/js/keypad.js
@@ -437,10 +437,8 @@ var KeypadManager = {
var phoneNumber = this._phoneNumber;
// If there are digits in the phone number, show the delete button.
- if (typeof CallScreen == 'undefined') {
- var visibility = (phoneNumber.length > 0) ? 'visible' : 'hidden';
- this.deleteButton.style.visibility = visibility;
- }
+ var visibility = (phoneNumber.length > 0) ? 'visible' : 'hidden';
+ this.deleteButton.style.visibility = visibility;
if (this._onCall) {
var view = CallScreen.activeCall.querySelector('.number');

0 comments on commit 23966d6

Please sign in to comment.