Skip to content

Commit cd90cae

Browse files
committed
- add "use strict"
- $innerbox and $closeElts was undeclared
1 parent 22e4b21 commit cd90cae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jquery.superbox.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
* - Animations
99
* - Image / Gallery mode : display a legend
1010
*/
11+
"use strict";
1112
(function($) {
1213

1314
// Local variables
14-
var $curLink, $overlay, $wrapper, $container, $superbox, $closeBtn, $loading, $nextprev, $nextBtn, $prevBtn, settings,
15+
var $curLink, $overlay, $wrapper, $container, $superbox, $closeBtn, $loading, $nextprev, $nextBtn, $prevBtn, settings, $innerbox, $closeElts,
1516

1617
// Default settings
1718
defaultSettings = {

0 commit comments

Comments
 (0)