Skip to content

Commit

Permalink
Merge pull request #1685 from barryo-learningpool/issue/1393
Browse files Browse the repository at this point in the history
Allow ordering of drawer items (#1393)
  • Loading branch information
moloko authored Aug 2, 2017
2 parents d383e75 + 199044c commit 0ff7731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/js/drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ define([
'core/js/views/drawerView'
], function(Adapt, DrawerView) {

var DrawerCollection = new Backbone.Collection();
var DrawerCollection = new Backbone.Collection(null, { comparator: 'drawerOrder' });
var Drawer = {};

Drawer.addItem = function(drawerObject, eventCallback) {
Expand Down

0 comments on commit 0ff7731

Please sign in to comment.