fixed jQuery dprecations
This commit is contained in:
dist
bootstrap-editable
bootstrap3-editable
bootstrap5-editable
inputs-ext
jquery-editable
jqueryui-editable
src
editable-form
element
inputs-ext
inputs
4
dist/inputs-ext/wysihtml5/wysihtml5.js
vendored
4
dist/inputs-ext/wysihtml5/wysihtml5.js
vendored
@ -90,9 +90,9 @@ $(function(){
|
||||
},
|
||||
|
||||
isEmpty: function($element) {
|
||||
if($.trim($element.html()) === '') {
|
||||
if($element.html().trim() === '') {
|
||||
return true;
|
||||
} else if($.trim($element.text()) !== '') {
|
||||
} else if($element.text().trim() !== '') {
|
||||
return false;
|
||||
} else {
|
||||
//e.g. '<img>', '<br>', '<p></p>'
|
||||
|
Reference in New Issue
Block a user