diff --git a/plugins/global-bind/mousetrap-global-bind.js b/plugins/global-bind/mousetrap-global-bind.js index c72672a5..6b86a99f 100644 --- a/plugins/global-bind/mousetrap-global-bind.js +++ b/plugins/global-bind/mousetrap-global-bind.js @@ -43,4 +43,4 @@ }; Mousetrap.init(); -}) (Mousetrap); +}) (typeof Mousetrap !== "undefined" ? Mousetrap : undefined);