welcome more bootstrap3 compliant, thanks Paolo Caruccio

This commit is contained in:
mdipierro
2014-02-27 09:33:26 -06:00
parent 0d24d1e0d2
commit 1e9872c015
11 changed files with 64 additions and 37 deletions
+2 -2
View File
@@ -75,8 +75,8 @@
* this over and over... all will be bound to the document
*/
/*adds btn class to buttons*/
$('button', target).addClass('btn');
$('form input[type="submit"], form input[type="button"]', target).addClass('btn');
$('button', target).addClass('btn').addClass('btn-default');
$('form input[type="submit"], form input[type="button"]', target).addClass('btn').addClass('btn-default');
/* javascript for PasswordWidget*/
$('input[type=password][data-w2p_entropy]', target).each(function () {
web2py.validate_entropy($(this));