Reverted brackets logic

Fixes #698
This commit is contained in:
Igor Zhukov 2015-02-14 23:09:57 +03:00
parent edbb2e6d7f
commit 49f95ef6d2

View File

@ -3767,6 +3767,9 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
urlCloseBrackets--;
urlLength--;
}
if (urlOpenBrackets > urlCloseBrackets) {
url = url.replace(/\)+$/, '');
}
return url;
}