Commit bc5d44e5 authored by Raine Makelainen's avatar Raine Makelainen

Cleanup coding style

parent a8bbaf03
......@@ -572,13 +572,13 @@ EmbedHelper.prototype = {
},
_handleFullScreenChanged: function(aEvent) {
let window = aEvent.target.defaultView;
let winid = Services.embedlite.getIDByWindow(window);
this.inFullScreen = aEvent.target.mozFullScreen;
Services.embedlite.sendAsyncMessage(winid, "embed:fullscreenchanged",
JSON.stringify({
"fullscreen": aEvent.target.mozFullScreen
}));
let window = aEvent.target.defaultView;
let winid = Services.embedlite.getIDByWindow(window);
this.inFullScreen = aEvent.target.mozFullScreen;
Services.embedlite.sendAsyncMessage(winid, "embed:fullscreenchanged",
JSON.stringify({
"fullscreen": aEvent.target.mozFullScreen
}));
},
_handleTouchMove: function(aEvent) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment