diff options
| author | Mark Otto <[email protected]> | 2013-09-16 18:58:52 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-09-16 18:58:52 -0700 |
| commit | 776d3fd6a0b0803512ba3cf5bd365b4e18b9315f (patch) | |
| tree | 0038f295b6d5858f49a93baaee4a0c6585570a5e | |
| parent | 4f20a29c329aa58919919426cbd2190fabfdb723 (diff) | |
| download | bootstrap-776d3fd6a0b0803512ba3cf5bd365b4e18b9315f.tar.xz bootstrap-776d3fd6a0b0803512ba3cf5bd365b4e18b9315f.zip | |
fixes #9908: add type attribute to customizer compile button to prevent accidental submissions
| -rw-r--r-- | customize.html | 4 |
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> |
