Skip to content

Commit

Permalink
docs(select): rephrase the sentence about the need to call init to re…
Browse files Browse the repository at this point in the history
…load a dynamic select component

fix Dogfalo#171
  • Loading branch information
LoganTann committed Oct 28, 2021
1 parent 9363a94 commit 0e811a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pug/page-contents/select_content.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@

<div id="initialization" class="scrollspy section">
<h3 class="header">Initialization</h3>
<p>You must initialize the select element as shown below. In addition, you will need a separate call for any dynamically
generated select elements your page generates.</p>
<p>You must initialize the select element as shown below. In addition, you will need a separate call to init() for any dynamically generated select or any changes to an existing select.</p>

<pre><code class="language-javascript">
document.addEventListener('DOMContentLoaded', function() {
Expand Down

0 comments on commit 0e811a2

Please sign in to comment.