Skip to content

Commit f979546

Browse files
author
Robert Leverington
committed
Pass the jQuery variable in to the setup function, this is necessary in environments where jQuery is removed from the window scope (via jQuery.noConflict(true);).
1 parent 7e0c65b commit f979546

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery.fullscreen.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* (See http://www.opensource.org/licenses/mit-license)
77
*/
88

9-
(function() {
9+
(function(jQuery) {
1010

1111
/**
1212
* Sets or gets the fullscreen state.
@@ -181,4 +181,4 @@ jQuery.fn["fullScreen"] = fullScreen;
181181
jQuery.fn["toggleFullScreen"] = toggleFullScreen;
182182
installFullScreenHandlers();
183183

184-
})();
184+
})(jQuery);

0 commit comments

Comments
 (0)