Skip to content

Commit 90ca6f9

Browse files
Di PengIgorMinar
Di Peng
authored andcommitted
fix(docs): remove more unecessary use of hide() and show() method
- tutorial section of docs fails to render properly as doc:tutorial-instructions widget uses deprecated show and hide methods of jQlite.
1 parent 57030bb commit 90ca6f9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/src/templates/doc_widgets.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@
181181
'</div>';
182182

183183
angular.widget('doc:tutorial-instructions', function(element) {
184-
element.hide();
185184
this.descend(true);
186185

187186
var tabs = angular.element(HTML_TPL.replace('{show}', element.attr('show') || 'false')),
@@ -207,7 +206,6 @@
207206

208207
element.html('');
209208
element.append(tabs);
210-
element.show();
211209
});
212210

213211

0 commit comments

Comments
 (0)