Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove toggle
  • Loading branch information
processprocess committed Jan 19, 2022
commit d0a0fc5afc0f1b0d44cd9fd6a996e98e3808641f
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ export class DraggableDrawer extends AMP.BaseElement {
? this.startListeningForTouchEvents_()
: this.stopListeningForTouchEvents_();

this.headerEl.toggleAttribute('desktop', !isMobile);
isMobile
? this.headerEl.removeAttribute('desktop')
: this.headerEl.setAttribute('desktop', '');
Comment thread
processprocess marked this conversation as resolved.
Outdated
}

/**
Expand Down