Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Set a default options value for the plugin function

  • Loading branch information...
commit 42a8d7308650bdb76521a664a53f7263cc8428d8 1 parent 86f5bcf
@nhowell nhowell authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/wysihat.js
View
1  src/wysihat.js
@@ -15,6 +15,7 @@
// Set wysihat as a jQuery plugin
$.fn.wysihat = function(options) {
+ options = typeof(options) != 'undefined' ? options : [];
options = WysiHat.Toolbar.ButtonSets.Standard.concat(options);
return this.each(function() {
Please sign in to comment.
Something went wrong with that request. Please try again.