Skip to content

Commit

Permalink
Add new startOpen option to demo.html
Browse files Browse the repository at this point in the history
  • Loading branch information
jedfoster committed Nov 10, 2013
1 parent 2a32a62 commit 2866978
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ <h2 id="theoptions">The options:</h2>
<li><code>lessLink: '&lt;a href="#"&gt;Close&lt;/a&gt;'</code></li>
<li><code>embedCSS: true</code> (insert required CSS dynamically, set this to <code>false</code> if you include the necessary CSS in a stylesheet)</li>
<li><code>sectionCSS: 'display: block; width: 100%;'</code> (sets the styling of the blocks)</li>
<li><code>startOpen: false</code> (do not immediately truncate, start in the fully opened position)</li>
<li><code>beforeToggle: function() {}</code> (called after a more or less link is clicked, but <i>before</i> the block is collapsed or expanded)</li>
<li><code>afterToggle: function() {}</code> (called <i>after</i> the block is collapsed or expanded)</li>
</ul>
Expand Down
1 change: 0 additions & 1 deletion readmore.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
current.css({height: maxHeight});
}
}

});
},

Expand Down

0 comments on commit 2866978

Please sign in to comment.