修正对照翻译功能的小问题

This commit is contained in:
Zhicheng Wang 2016-05-14 19:25:47 +08:00
parent ff0f4291cc
commit e498eaaeff
3 changed files with 8 additions and 2 deletions

View File

@ -15,8 +15,8 @@ script(src="/resources/js/vendor/angular-material.min.js")
<!-- Angular.io Site JS --> <!-- Angular.io Site JS -->
script(src="/resources/js/translate.js")
script(src="/resources/js/site.js") script(src="/resources/js/site.js")
script(src="/resources/js/translate.js")
script(src="/resources/js/controllers/app-controller.js") script(src="/resources/js/controllers/app-controller.js")
script(src="/resources/js/directives/cheatsheet.js") script(src="/resources/js/directives/cheatsheet.js")
script(src="/resources/js/directives/api-list.js") script(src="/resources/js/directives/api-list.js")

View File

@ -11,3 +11,9 @@
font-style: normal; font-style: normal;
} }
} }
td, th {
> p:last-child {
margin-bottom: 0;
}
}

View File

@ -36,7 +36,7 @@
function isClonedNode(node1, node2) { function isClonedNode(node1, node2) {
return node1.tagName === node2.tagName && return node1.tagName === node2.tagName &&
attributesToString(node1) === attributesToString(node2.attributes); attributesToString(node1) === attributesToString(node2);
} }
function indexOf(node) { function indexOf(node) {