fix bug when open frontend on firefox
@@ -25,12 +25,12 @@ limitations under the License.
<td>{{ schema }}</td>
<td>
<div class="tooltip-wrapper inline" title="{{(noInstance ? ('noInstanceTip' | translate) : '')}}">
- <a href="javascript:void(0)" ng-class="{'disabled': noInstance}" ng-click="testSchema(schema)">
+ <a ng-class="{'disabled': noInstance}" ng-click="testSchema(schema)">
{{ "testSchema" | translate }}
</a>
</div>
<span> | </span>
- <a href="javascript:void(0)" ng-click="downloadSchema(schema)" >{{ "download" | translate }} HTML</a>
+ <a ng-click="downloadSchema(schema)" >{{ "download" | translate }} HTML</a>
</td>
</tr>
<tr ng-if="schemaName.length == 0" class="text-center">
@@ -39,7 +39,7 @@ limitations under the License.
</tbody>
</table>
<div ng-if="schemaName.length > 0">
- <a href="javascript:void(0)" ng-click="downloadAllSchema()">{{ "downloadAll" | translate }}</a>
+ <a ng-click="downloadAllSchema()">{{ "downloadAll" | translate }}</a>
</div>
<div id="singleTemplate" ng-hide="true">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.3.2/swagger-ui.css">
