Browse Source

Reverted brackets logic

Fixes #698
master
Igor Zhukov 10 years ago
parent
commit
49f95ef6d2
  1. 3
      app/js/services.js

3
app/js/services.js

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

Loading…
Cancel
Save