refactor: replace the deprecated js api
This commit is contained in:
@@ -11,8 +11,8 @@ const ScrollHelper = (function () {
|
||||
let orientationLocked = false;
|
||||
|
||||
return {
|
||||
hideTopbar: () => $body.attr(ATTR_TOPBAR_VISIBLE, false),
|
||||
showTopbar: () => $body.attr(ATTR_TOPBAR_VISIBLE, true),
|
||||
hideTopbar: () => $body.attr(ATTR_TOPBAR_VISIBLE, 'false'),
|
||||
showTopbar: () => $body.attr(ATTR_TOPBAR_VISIBLE, 'true'),
|
||||
|
||||
// scroll up
|
||||
|
||||
|
||||
Reference in New Issue
Block a user