Skip to content

Commit

Permalink
cs: tabs --> spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Dec 24, 2017
1 parent f41ff62 commit 1da2758
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/inputs-ext/wysihtml5/wysihtml5.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ $(function(){
}
},
destroy:function (){
this.$input.data('wysihtml5').editor.destroy();
this.$input.data('wysihtml5').editor.destroy();
}
});

Expand Down
14 changes: 7 additions & 7 deletions src/inputs/select2/select2.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $(function(){
options.select2 = options.select2 || {};

this.sourceData = null;

//placeholder
if(options.placeholder) {
options.select2.placeholder = options.placeholder;
Expand Down Expand Up @@ -294,15 +294,15 @@ $(function(){
},

activate: function() {
this.$input.select2('open');
this.$input.select2('open');
},

destroy: function() {
if(this.$input) {
if(this.$input.data('select2')) {
this.$input.select2('destroy');
}
}
if(this.$input) {
if(this.$input.data('select2')) {
this.$input.select2('destroy');
}
}
}

});
Expand Down

0 comments on commit 1da2758

Please sign in to comment.