From fc4a9b310fb3bde1e7de557da1db48cac597eb55 Mon Sep 17 00:00:00 2001 From: RubaXa Date: Thu, 24 Sep 2015 17:47:20 +0300 Subject: [PATCH] #573: * without ng-repeat --- ng-sortable.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ng-sortable.js b/ng-sortable.js index a33b3c9..55a502d 100644 --- a/ng-sortable.js +++ b/ng-sortable.js @@ -46,7 +46,9 @@ if (!ngRepeat) { // Without ng-repeat - return null; + return function () { + return null; + }; } // tests: http://jsbin.com/kosubutilo/1/edit?js,output