From e498eaaeff7043d3b6f62d5901aabea34bd65ef8 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Sat, 14 May 2016 19:25:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=AF=B9=E7=85=A7=E7=BF=BB?= =?UTF-8?q?=E8=AF=91=E5=8A=9F=E8=83=BD=E7=9A=84=E5=B0=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/_includes/_scripts-include.jade | 2 +- public/resources/css/_translate.scss | 6 ++++++ public/resources/js/translate.js | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/public/_includes/_scripts-include.jade b/public/_includes/_scripts-include.jade index 5dd3407ed7..bbf241cd3e 100644 --- a/public/_includes/_scripts-include.jade +++ b/public/_includes/_scripts-include.jade @@ -15,8 +15,8 @@ script(src="/resources/js/vendor/angular-material.min.js") -script(src="/resources/js/translate.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/directives/cheatsheet.js") script(src="/resources/js/directives/api-list.js") diff --git a/public/resources/css/_translate.scss b/public/resources/css/_translate.scss index 50eb879b55..e6245dc973 100644 --- a/public/resources/css/_translate.scss +++ b/public/resources/css/_translate.scss @@ -11,3 +11,9 @@ font-style: normal; } } + +td, th { + > p:last-child { + margin-bottom: 0; + } +} diff --git a/public/resources/js/translate.js b/public/resources/js/translate.js index 675ed43148..e904389ef1 100644 --- a/public/resources/js/translate.js +++ b/public/resources/js/translate.js @@ -36,7 +36,7 @@ function isClonedNode(node1, node2) { return node1.tagName === node2.tagName && - attributesToString(node1) === attributesToString(node2.attributes); + attributesToString(node1) === attributesToString(node2); } function indexOf(node) {