yes, fixed locally



On Fri, Feb 14, 2014 at 1:47 PM, oterral <notifications@github.com> wrote:

> In src/components/fullscreen/FullscreenDirective.js:
>
> > +    return {
> > +      restrict: 'A',
> > +      scope: {
> > +        map: '=gaFullscreenMap'
> > +      },
> > +      template: "<a href='#' ng-click='click()' translate>full_screen</a>",
> > +      link: function(scope, element, attrs) {
> > +        scope.click = function() {
> > +          var target = scope.map.getTarget();
> > +          if (target.requestFullScreen) {
> > +            target.requestFullScreen();
> > +          } else if (target.mozRequestFullScreen) {
> > +            target.mozRequestFullScreen();
> > +          } else if (target.webkitRequestFullScreen) {
> > +            target.webkitRequestFullScreen();
> > +          }
>
> Missing IE :
>
> else if(element.msRequestFullscreen) {
>     element.msRequestFullscreen();
> }
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/geoadmin/mf-geoadmin3/pull/1099/files#r9747135>
> .
>



-- 
Twitter: http://twitter.com/cedricmoullet
Linked In: http://www.linkedin.com/in/cedricmoullet

<http://twitter.com/cedricmoullet>