Skip to content

Commit

Permalink
Properly pass jQuery to toasts.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Mortenson authored and Dogfalo committed Jul 20, 2017
1 parent dbdd869 commit a296298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/toasts.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function() {
(function($) {
'use strict';

let _defaults = {
Expand Down Expand Up @@ -317,4 +317,4 @@
window.Materialize.toast = function(message, displayLength, className, completeCallback) {
return new Toast(message, displayLength, className, completeCallback);
}
})();
})(jQuery);

0 comments on commit a296298

Please sign in to comment.