router: avoid pushing state twice

This commit is contained in:
Nils Schneider 2015-07-06 23:12:30 +02:00
parent d17d6c881e
commit 2d1fbba40f

View file

@ -111,7 +111,6 @@ define(function () {
self.reset = function () {
resetView()
saveState()
}
self.addTarget = function (d) {