aboutsummaryrefslogtreecommitdiff
path: root/customize.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-09-16 18:58:52 -0700
committerMark Otto <[email protected]>2013-09-16 18:58:52 -0700
commit776d3fd6a0b0803512ba3cf5bd365b4e18b9315f (patch)
tree0038f295b6d5858f49a93baaee4a0c6585570a5e /customize.html
parent4f20a29c329aa58919919426cbd2190fabfdb723 (diff)
downloadbootstrap-776d3fd6a0b0803512ba3cf5bd365b4e18b9315f.tar.xz
bootstrap-776d3fd6a0b0803512ba3cf5bd365b4e18b9315f.zip
fixes #9908: add type attribute to customizer compile button to prevent accidental submissions
Diffstat (limited to 'customize.html')
-rw-r--r--customize.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/customize.html b/customize.html
index 44a748caf..4a38bbd80 100644
--- a/customize.html
+++ b/customize.html
@@ -1717,7 +1717,7 @@ base_url: "../"
</div>
<p class="lead">Hooray! Your custom version of Bootstrap is now ready to be compiled. Just click the button below to finish the process.</p>
<div class="bs-customize-download">
- <button id="btn-compile" class="btn btn-block btn-lg btn-outline" onclick="_gaq.push(['_trackEvent', 'Customize', 'Download', 'Customize and Download']);">Compile and Download</button>
+ <button type="submit" id="btn-compile" class="btn btn-block btn-lg btn-outline" onclick="_gaq.push(['_trackEvent', 'Customize', 'Download', 'Customize and Download']);">Compile and Download</button>
</div>
</div><!-- /download -->
-</form> \ No newline at end of file
+</form>