Skip to content

Commit 7c38fc9

Browse files
Fix typo in SCR35 (#4020)
Closes [4019](#4019) Fix a typo in the SCR35, I'm sorry, I don't know what else to write here
1 parent 0aa27ff commit 7c38fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

techniques/client-side-script/SCR35.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h3>Link that runs a script and has no fallback for non-scripted browsers</h3>
3838
</section>
3939
<section class="example">
4040
<h3>Link that runs script, but navigates to another page when script is not available</h3>
41-
<p>This approach can be used to create sites that don't rely on script, if and only if the navigation target provides the same functionality as the script. This example is identical to the example 1, except that its <code class="language-html">href</code> is now set to a real page, dostuff.html. The sostuff.html page must provide the same functionality as the script. The "<code class="language-javascript">return false;</code>" at the end of the <code class="language-javascript">doStuff()</code> event handling function tells the browser not to navigate to the URI. Without it, the browser would navigate to dostuff.html after the script ran.</p>
41+
<p>This approach can be used to create sites that don't rely on script, if and only if the navigation target provides the same functionality as the script. This example is identical to the example 1, except that its <code class="language-html">href</code> is now set to a real page, dostuff.html. The dostuff.html page must provide the same functionality as the script. The "<code class="language-javascript">return false;</code>" at the end of the <code class="language-javascript">doStuff()</code> event handling function tells the browser not to navigate to the URI. Without it, the browser would navigate to dostuff.html after the script ran.</p>
4242

4343
<pre xml:space="preserve"><code class="language-html">&lt;script&gt;
4444
function doStuff() {

0 commit comments

Comments
 (0)