Skip to content

Commit f98c6d8

Browse files
authored
Merge pull request #12 from dmi3yy/patch-1
fix for jQuery 3+
2 parents 43ef71a + 55a706a commit f98c6d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

assets/plugins/simplefiles/tpl/simplefiles.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ var sfGridColumns = [ [
155155
}
156156
] ];
157157
(function($){
158-
$(window).load(function(){
158+
$(window).on('load', function(){
159159
if ($('#sf-tab')) {
160160
$('#sf-tab.selected').trigger('click');
161161
}
@@ -175,4 +175,4 @@ $('#sf-tab').click(function(){
175175
</script>
176176
<div id="SimpleFiles" class="tab-page" style="width:100%;-moz-box-sizing: border-box; box-sizing: border-box;">
177177
<h2 class="tab" id="sf-tab">[+tabName+]</h2>
178-
</div>
178+
</div>

0 commit comments

Comments
 (0)