Skip to content

Commit c86240c

Browse files
Merge pull request #316 from coke54/master
Missing var added for variable declaration in scope
2 parents 91c66a1 + 1e3a65a commit c86240c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/public/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161

162162
// Save action for modals
163163
$('.object-action, .generic-action, select[name=action] option').each(function(index, item) {
164-
$item = $(item);
164+
var $item = $(item);
165165
$item.data('action', $item.attr('href'));
166166
$item.attr('href', $item.data('confirmModal'));
167167
});

0 commit comments

Comments
 (0)