Commit f6b4322c0bc0db61b8436f9d726e2ea6d881af3f

Authored by Eric
1 parent e86e11d0c7
Exists in master

fix nombreFunción recieve undefined

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
src/js/controller.js
... ... @@ -543,6 +543,9 @@ angular.module('focaParametros')
543 543 });
544 544  
545 545 function nombreFuncion(string) {
  546 +
  547 + if(!string) return;
  548 +
546 549 var texto = 'seleccionar';
547 550 var arr = string.split(' ');
548 551 arr.forEach(function(palabra) {