remove gitiegnore to public
This commit is contained in:
31
public/storage/assets/js/bt-maxLength.js
Normal file
31
public/storage/assets/js/bt-maxLength.js
Normal file
@@ -0,0 +1,31 @@
|
||||
(function($) {
|
||||
'use strict';
|
||||
$('#defaultconfig').maxlength({
|
||||
warningClass: "badge mt-1 badge-success",
|
||||
limitReachedClass: "badge mt-1 badge-danger"
|
||||
});
|
||||
|
||||
$('#defaultconfig-2').maxlength({
|
||||
alwaysShow: true,
|
||||
threshold: 20,
|
||||
warningClass: "badge mt-1 badge-success",
|
||||
limitReachedClass: "badge mt-1 badge-danger"
|
||||
});
|
||||
|
||||
$('#defaultconfig-3').maxlength({
|
||||
alwaysShow: true,
|
||||
threshold: 10,
|
||||
warningClass: "badge mt-1 badge-success",
|
||||
limitReachedClass: "badge mt-1 badge-danger",
|
||||
separator: ' of ',
|
||||
preText: 'You have ',
|
||||
postText: ' chars remaining.',
|
||||
validate: true
|
||||
});
|
||||
|
||||
$('#maxlength-textarea').maxlength({
|
||||
alwaysShow: true,
|
||||
warningClass: "badge mt-1 badge-success",
|
||||
limitReachedClass: "badge mt-1 badge-danger"
|
||||
});
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user