Commit graph

3 commits

Author SHA1 Message Date
Robert Speicher
89ca4f04f6 Refactor ZenMode
- 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.
2016-01-08 23:36:09 -05:00
Robert Speicher
38f1d571fe Remove style attribute from textarea during ZenMode activation
Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2466
2015-09-04 18:01:36 -04:00
Robert Speicher
f76a3f3db7 Add ZenMode javascript specs 2015-06-02 20:32:07 -04:00