Skip to content

Commit 2acd60d

Browse files
committed
fix(docs): remove undefined from examples with jsfiddle=false
1 parent e0ace15 commit 2acd60d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/templates/doc_widgets.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ angular.module('ngdocs.directives', [], function($compileProvider) {
152152
'<button>edit at jsFiddle</button>' +
153153
'</form>';
154154
}
155+
} else {
156+
return '';
155157
}
156158
};
157159
}

0 commit comments

Comments
 (0)