• Robert Speicher's avatar
    Refactor ZenMode · 89ca4f04
    Robert Speicher authored
    - No longer depends on the "hidden checkbox".
    - No longer depends on manually storing/restoring the scroll position.
      Instead, we take advantage of jquery.scrollTo.
    - Event-based.
    - Simplifies the state-based styling.
    89ca4f04
zen_mode.js.coffee 1.8 KB