do not print read values from storage in mobile

This commit is contained in:
Matias Alejo Garcia 2016-01-15 11:04:29 -03:00
commit e49459dc7f
2 changed files with 3 additions and 5 deletions

View file

@ -47,8 +47,8 @@ angular
// Trim output in mobile
if (window.cordova) {
v = v.toString();
if (v.length > 1000) {
v = v.substr(0, 997) + '...';
if (v.length > 300) {
v = v.substr(0, 297) + '...';
}
}
} catch (e) {