Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Modal Dialog Example: Fix HTML source display highlighting (pull #741)
Fix issue #738 by adding missing app.js script and fixing HTML source display wrapper.
  • Loading branch information
sh0ji authored and mcking65 committed Jun 27, 2018
1 parent 18158ea commit dc1ed44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/dialog-modal/alertdialog.html
Expand Up @@ -224,7 +224,8 @@ <h2 id="src_label">Javascript and CSS Source Code</h2>
</section>
<section>
<h2 id="sc1_label">HTML Source Code</h2>
<div role="separator" id="sc1_start_sep" aria-labelledby="sc1_start_sep sc1_label" aria-label="Start of"></div> <pre><code id="sc1"></code></pre>
<div role="separator" id="sc1_start_sep" aria-labelledby="sc1_start_sep sc1_label" aria-label="Start of"></div>
<pre><code id="sc1"></code></pre>
<div role="separator" id="sc1_end_sep" aria-labelledby="sc1_end_sep sc1_label" aria-label="End of"></div>
<script>
sourceCode.add('sc1', 'ex_alertdialog');
Expand Down
3 changes: 2 additions & 1 deletion examples/dialog-modal/dialog.html
Expand Up @@ -11,6 +11,7 @@
<link href="../css/core.css" rel="stylesheet">
<script src="../js/examples.js" type="text/javascript"></script>
<script src="../js/highlight.pack.js"></script>
<script src="../js/app.js"></script>

<!-- js and css for this example. -->
<link href="css/dialog.css" rel="stylesheet">
Expand Down Expand Up @@ -225,7 +226,7 @@ <h2>Javascript and CSS Source Code</h2>
<section>
<h2 id="sc1_label">HTML Source Code</h2>
<div role="separator" id="sc1_start_sep" aria-labelledby="sc1_start_sep sc1_label" aria-label="Start of"></div>
<div id="sc1"></div>
<pre><code id="sc1"></code></pre>
<div role="separator" id="sc1_end_sep" aria-labelledby="sc1_end_sep sc1_label" aria-label="End of"></div>

</section>
Expand Down

0 comments on commit dc1ed44

Please sign in to comment.