Skip to content

Commit

Permalink
Merge branch 'pullrequest#27'
Browse files Browse the repository at this point in the history
  • Loading branch information
gurayyarar committed Mar 11, 2017
2 parents 6e9cd58 + 611957b commit 83e9adb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,13 @@ $.AdminBSB.input = {
$('body').on('click', '.form-float .form-line .form-label', function () {
$(this).parent().find('input').focus();
});

//Not blank form
$('.form-control').each(function() {
if ($(this).val() !== '') {
$(this).parents('.form-line').addClass('focused');
}
});
}
}
//==========================================================================================================================
Expand Down

0 comments on commit 83e9adb

Please sign in to comment.