Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 815629 - removed wallpaper and table layout on oncall.html for pe…

…rformance
  • Loading branch information...
commit 636f6b82e28ce5dda5c3b279a812498d68af7975 1 parent f3973d3
@yurenju yurenju authored
View
7 apps/communications/dialer/js/oncall.js
@@ -612,11 +612,4 @@ window.addEventListener('localized', function callSetup(evt) {
CallScreen.init();
CallScreen.syncSpeakerEnabled();
OnCallHandler.setup();
- if (navigator.mozSettings) {
- var req = navigator.mozSettings.createLock().get('wallpaper.image');
- req.onsuccess = function cs_wi_onsuccess() {
- CallScreen.mainContainer.style.backgroundImage =
- 'url(' + req.result['wallpaper.image'] + ')';
- };
- }
});
View
6 apps/communications/dialer/oncall.html
@@ -25,7 +25,7 @@
</head>
<body class="hidden">
- <article id="call-screen" class="grid">
+ <article id="call-screen">
<article id="calls" data-count="0">
<section>
<div class="numberWrapper">
@@ -61,8 +61,8 @@
</div>
</section>
</article>
- <article id="main-container" class="grid-row">
- <div id="actions-container" class="grid-wrapper grid">
+ <article id="main-container">
+ <div id="actions-container">
<div id="swiper-wrapper">
<svg id="swiper-curve" xmlns="http://www.w3.org/2000/svg" version="1.1">
<defs>
View
3  apps/communications/dialer/style/oncall.css
@@ -134,8 +134,9 @@ body.hidden *[data-l10n-id] {
}
#main-container {
- position: relative;
+ position: absolute;
height: 100%;
+ width: 100%;
background: rgba(0, 0, 0, 0.8) no-repeat center top/cover;
}
Please sign in to comment.
Something went wrong with that request. Please try again.