We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6075b41 + 374040c commit 8495717Copy full SHA for 8495717
daterangepicker.js
@@ -28,7 +28,7 @@
28
// Browser globals
29
root.daterangepicker = factory(root.moment, root.jQuery);
30
}
31
-}(this, function(moment, $) {
+}(typeof window !== 'undefined' ? window : this, function(moment, $) {
32
var DateRangePicker = function(element, options, cb) {
33
34
//default settings for options
0 commit comments