Skip to content

Commit

Permalink
move loading of NavigationExtender to bottom since chrome cannot find…
Browse files Browse the repository at this point in the history
… the class if it is not defined first

closes #4, #5
  • Loading branch information
newhinton committed Nov 21, 2020
1 parent 78d1728 commit d2d7e1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<name>Favorites Quickaccess Sorting</name>
<summary>Different Sorting for favorites-quickaccess!</summary>
<description>This app enables to sort the favorites by 'Alphabetically', 'Date Added', 'Last Date Modified' and 'Custom Order'! </description>
<version>1.1.1</version>
<version>1.1.2</version>
<licence>agpl</licence>
<author mail="[email protected]" >Felix Nüsse</author>
<namespace>quickaccesssorting</namespace>
Expand All @@ -15,7 +15,7 @@
<bugs>https://github.com/newhinton/quickaccess-sorting/issues</bugs>
<documentation>https://github.com/newhinton/quickaccess-sorting/issues/wiki</documentation>
<dependencies>
<nextcloud min-version="15" max-version="20"/>
<nextcloud min-version="15" max-version="21"/>
</dependencies>
</info>

9 changes: 4 additions & 5 deletions js/sorting.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@

(function () {

$(document).ready(function () {
new NavigationExtender($(document));
});


/**
* @class OCA.Files.Navigation
* @classdesc Navigation control for the files app sidebar.
Expand Down Expand Up @@ -341,4 +336,8 @@

};

$(document).ready(function () {
new NavigationExtender($(document));
});

})();

0 comments on commit d2d7e1f

Please sign in to comment.