You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2019/05/15 14:51:25 UTC

[servicecomb-service-center] branch master updated: fix bug when open frontend on firefox (#546)

This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git


The following commit(s) were added to refs/heads/master by this push:
     new 3eb06e4  fix bug when open frontend on firefox (#546)
3eb06e4 is described below

commit 3eb06e429e5de2bb398b3df0db29a5e454fb49f4
Author: Chenzhu1008 <c5...@126.com>
AuthorDate: Wed May 15 22:51:20 2019 +0800

    fix bug when open frontend on firefox (#546)
---
 frontend/app/scripts/modules/serviceCenter/views/schema.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/frontend/app/scripts/modules/serviceCenter/views/schema.html b/frontend/app/scripts/modules/serviceCenter/views/schema.html
index 7a86051..1314fee 100644
--- a/frontend/app/scripts/modules/serviceCenter/views/schema.html
+++ b/frontend/app/scripts/modules/serviceCenter/views/schema.html
@@ -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">