mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 09:47:31 +03:00 
			
		
		
		
	fix: broken code samples tabs in IE
This commit is contained in:
		
							parent
							
								
									c5b6ac47ac
								
							
						
					
					
						commit
						c1dbb81aac
					
				| 
						 | 
					@ -1,10 +1,10 @@
 | 
				
			||||||
<header *ngIf="schemaPointer || samples.length"> Request samples </header>
 | 
					<header *ngIf="schemaPointer || samples.length"> Request samples </header>
 | 
				
			||||||
<schema-sample *ngIf="schemaPointer && !samples.length" [skipReadOnly]="true" [pointer]="schemaPointer"> </schema-sample>
 | 
					<schema-sample *ngIf="schemaPointer && !samples.length" [skipReadOnly]="true" [pointer]="schemaPointer"> </schema-sample>
 | 
				
			||||||
<tabs *ngIf="samples.length" [selected] = "selectedLang" (change)=changeLangNotify($event)>
 | 
					<tabs *ngIf="samples.length" [selected] = "selectedLang" (change)=changeLangNotify($event)>
 | 
				
			||||||
  <tab *ngIf="schemaPointer" tabTitle="JSON">
 | 
					  <tab *ngIf="schemaPointer" [tabTitle]="'JSON' | safe">
 | 
				
			||||||
    <schema-sample [pointer]="schemaPointer" [skipReadOnly]="true"> </schema-sample>
 | 
					    <schema-sample [pointer]="schemaPointer" [skipReadOnly]="true"> </schema-sample>
 | 
				
			||||||
  </tab>
 | 
					  </tab>
 | 
				
			||||||
  <tab *ngFor="let sample of samples" [tabTitle]="sample.lang">
 | 
					  <tab *ngFor="let sample of samples" [tabTitle]="sample.lang | safe">
 | 
				
			||||||
    <div class="code-sample">
 | 
					    <div class="code-sample">
 | 
				
			||||||
      <div class="action-buttons">
 | 
					      <div class="action-buttons">
 | 
				
			||||||
        <span copy-button [copyText]="sample.source" class="hint--top-left hint--inversed"><a>Copy</a></span>
 | 
					        <span copy-button [copyText]="sample.source" class="hint--top-left hint--inversed"><a>Copy</a></span>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
<ul>
 | 
					<ul>
 | 
				
			||||||
  <li *ngFor="let tab of tabs" [ngClass]="{active: tab.active}" (click)="selectTab(tab)"
 | 
					  <li *ngFor="let tab of tabs" [ngClass]="{active: tab.active}" (click)="selectTab(tab)"
 | 
				
			||||||
    class="tab-{{tab.tabStatus}}" [innerHTML]="tab.tabTitle"></li>
 | 
					    class="tab-{{tab.tabStatus}}" [innerHtml]="tab.tabTitle"></li>
 | 
				
			||||||
</ul>
 | 
					</ul>
 | 
				
			||||||
<ng-content></ng-content>
 | 
					<ng-content></ng-content>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user