Bug 1206701 - Fix the contact menu buttons on Loop's panel so that audio and video conversations can be selected properly. r=Mardak, a=lizzard
authorMark Banner <standard8@mozilla.com>
Mon, 21 Sep 2015 18:11:21 +0100
changeset 296155 161c787cd1514b6d0afb0cee7562a9de69e7191f
parent 296154 3e1f433a88fdacb9dfe593043dc8bbea180d1685
child 296156 d5adbfd01a529051269e87711fb0a1741c0b5a89
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMardak, lizzard
bugs1206701
milestone43.0a2
Bug 1206701 - Fix the contact menu buttons on Loop's panel so that audio and video conversations can be selected properly. r=Mardak, a=lizzard
browser/components/loop/content/js/contacts.js
browser/components/loop/content/js/contacts.jsx
--- a/browser/components/loop/content/js/contacts.js
+++ b/browser/components/loop/content/js/contacts.js
@@ -206,25 +206,23 @@ loop.contacts = (function(_, mozL10n) {
 
       return (
         React.createElement("ul", {className: dropdownClasses}, 
           React.createElement("li", {className: cx({ "dropdown-menu-item": true,
                               "disabled": this.props.blocked,
                               "video-call-item": true }), 
               "data-action": "video-call", 
               onClick: this.onItemClick}, 
-            React.createElement("i", {className: "icon icon-video-call"}), 
             mozL10n.get("video_call_menu_button")
           ), 
           React.createElement("li", {className: cx({ "dropdown-menu-item": true,
                               "disabled": this.props.blocked,
                               "audio-call-item": true }), 
               "data-action": "audio-call", 
               onClick: this.onItemClick}, 
-            React.createElement("i", {className: "icon icon-audio-call"}), 
             mozL10n.get("audio_call_menu_button")
           ), 
           React.createElement("li", {className: cx({ "dropdown-menu-item": true,
                               "disabled": !this.props.canEdit }), 
               "data-action": "edit", 
               onClick: this.onItemClick}, 
             mozL10n.get("edit_contact_title")
           ), 
--- a/browser/components/loop/content/js/contacts.jsx
+++ b/browser/components/loop/content/js/contacts.jsx
@@ -206,25 +206,23 @@ loop.contacts = (function(_, mozL10n) {
 
       return (
         <ul className={dropdownClasses}>
           <li className={cx({ "dropdown-menu-item": true,
                               "disabled": this.props.blocked,
                               "video-call-item": true })}
               data-action="video-call"
               onClick={this.onItemClick}>
-            <i className="icon icon-video-call" />
             {mozL10n.get("video_call_menu_button")}
           </li>
           <li className={cx({ "dropdown-menu-item": true,
                               "disabled": this.props.blocked,
                               "audio-call-item": true })}
               data-action="audio-call"
               onClick={this.onItemClick}>
-            <i className="icon icon-audio-call" />
             {mozL10n.get("audio_call_menu_button")}
           </li>
           <li className={cx({ "dropdown-menu-item": true,
                               "disabled": !this.props.canEdit })}
               data-action="edit"
               onClick={this.onItemClick}>
             {mozL10n.get("edit_contact_title")}
           </li>