Explorar o código

isDesktop() method deprecated

@soyjavi %!s(int64=14) %!d(string=hai) anos
pai
achega
c3764ec303
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/boot/Lungo.Boot.Layout.js

+ 1 - 1
src/boot/Lungo.Boot.Layout.js

@@ -19,7 +19,7 @@ LUNGO.Boot.Layout = (function(lng, undefined) {
      *
      */
     var start = function() {
-        if (!lng.Environment.isDesktop()) {
+        if (lng.Core.isMobile()) {
             _window = window;
             _document = _window.document;