mirror of
https://github.com/e107inc/e107.git
synced 2025-10-10 04:24:45 +02:00
Usersettings error message styling and general cleanup.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
$(document).ready(function()
|
||||
{
|
||||
$('form').h5Validate(
|
||||
{ errorClass: 'has-error' }
|
||||
); // allow older browsers to use html5 validation.
|
||||
|
||||
// Change hash when a tab changes
|
||||
$('.nav-tabs a').on('shown', function (event) {
|
||||
var hash = event.target.href.toString().split('#')[1], form = $(event.target).parents('form')[0];
|
||||
|
Reference in New Issue
Block a user