Javi Jimenez Villar %!s(int64=13) %!d(string=hai) anos
pai
achega
78886d47f5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/boot/Lungo.Boot.Device.coffee

+ 1 - 1
src/boot/Lungo.Boot.Device.coffee

@@ -17,7 +17,7 @@ Lungo.Boot.Device = do(lng = Lungo) ->
   init = ->
     env = lng.Core.environment()
     lng.DEVICE = (if env.screen.width < 768 then DEVICE.PHONE else DEVICE.TABLET)
-    lng.dom(document.body).data "data", lng.DEVICE
+    lng.dom(document.body).data "device", lng.DEVICE
     lng.Aside.draggable()  if lng.DEVICE is lng.Constants.DEVICE.PHONE
 
   init: init