Merge "Remove font load from paper-styles"

This commit is contained in:
Tao Zhou
2019-10-15 10:37:35 +00:00
committed by Gerrit Code Review
3 changed files with 6 additions and 3 deletions

View File

@@ -16,6 +16,9 @@ limitations under the License.
-->
<script>
window.Gerrit = window.Gerrit || {};
// Disable extra font load from paper-styles
window.polymerSkipLoadingFontRoboto = true;
</script>
<link rel="import" href="/bower_components/polymer/polymer.html">

View File

@@ -17,9 +17,6 @@
(function() {
'use strict';
// Disable extra font load from paper-styles
window.polymerSkipLoadingFontRoboto = true;
Polymer({
is: 'gr-app-p2',
});

View File

@@ -29,6 +29,9 @@ limitations under the License.
};
}
window.Gerrit = window.Gerrit || {};
// Disable extra font load from paper-styles
window.polymerSkipLoadingFontRoboto = true;
</script>
<link rel="import" href="/bower_components/polymer/polymer.html">