Try using data- attributes instead of classes for simplified CSS Posted by nkron on Sunday September 27, 2015 @02:55AM from the toddmotto.com dept. http://toddmotto.com/stop-toggling-classes-with-js-use-behaviour-driven-dom-manipulation-with-data-states/ ( no comments | 4 points | on HN )
There are no comments yet.