Skip to content

Commit 41d3918

Browse files
Fix lint issues
1 parent ababb8a commit 41d3918

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/directive.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ angular.module('gettext').directive('translate', function (gettextCatalog, $pars
6060
var oldContents = element.contents();
6161

6262
// Avoid redundant swaps
63-
if(translated === oldContents[0].textContent){
63+
if (translated === oldContents[0].textContent){
6464
// Take care of unlinked content
65-
if(linking){
65+
if (linking){
6666
$compile(oldContents)(scope);
6767
}
6868
return;

0 commit comments

Comments
 (0)