nitweb: autoload focused linearization code
authorAlexandre Terrasa <alexandre@moz-code.org>
Thu, 25 Aug 2016 19:02:42 +0000 (15:02 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Wed, 31 Aug 2016 13:32:12 +0000 (09:32 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

share/nitweb/javascripts/entities.js

index eb4f5f9..c1eb43d 100644 (file)
                                                        }
                                                }
                                        };
+
+                                       if($scope.isActive()) $scope.loadCardCode();
                                }
                        };
                }])