This commit is contained in:
James Cole
2017-09-25 09:28:16 +02:00
parent c917d2b1c4
commit ea1d543795
8 changed files with 59 additions and 10 deletions

View File

@@ -6,7 +6,7 @@
* See the LICENSE file for details.
*/
/** global: Modernizr */
/** global: Modernizr, askReadWarning */
$(document).ready(function () {
"use strict";
@@ -17,4 +17,7 @@ $(document).ready(function () {
}
);
}
$('form.form-horizontal').on('submit', function () {
return confirm(askReadWarning);
});
});