Fix opening QR scrolling us to the end of the page.
This commit is contained in:
parent
c55b071c71
commit
59df1a3e07
@ -4,6 +4,7 @@ UI = do ->
|
|||||||
className: 'dialog'
|
className: 'dialog'
|
||||||
innerHTML: html
|
innerHTML: html
|
||||||
id: id
|
id: id
|
||||||
|
el.style.cssText = position
|
||||||
$.get "#{id}.position", position, (item) ->
|
$.get "#{id}.position", position, (item) ->
|
||||||
el.style.cssText = item["#{id}.position"]
|
el.style.cssText = item["#{id}.position"]
|
||||||
$.on $('.move', el), 'touchstart mousedown', dragstart
|
$.on $('.move', el), 'touchstart mousedown', dragstart
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user