Commit 1815a3ce730d100b64d73044c1986b069d48ef12

Authored by OpenWapp Developer
1 parent 248f7ea31e

Fixing linter

Showing 1 changed file with 3 additions and 3 deletions

app/scripts/views/conversation.js View file @ 1815a3c
... ... @@ -147,8 +147,8 @@
147 147 }
148 148 },
149 149  
150   - _chooseWallpaper: function (evt) {
151   - var activity = new MozActivity({
  150 + _chooseWallpaper: function () {
  151 + var activity = new window.MozActivity({
152 152 name: 'pick',
153 153 data: {
154 154 type: 'image/*'
... ... @@ -164,7 +164,7 @@
164 164 this.model.set('wallpaper', blob);
165 165 this.model.saveToStorage();
166 166 var background = this.$el.find('#conversation');
167   - var url = URL.createObjectURL(blob);
  167 + var url = window.URL.createObjectURL(blob);
168 168 background.css('background-image', 'url(' + url + ')');
169 169 },
170 170