diff --git a/docs/glyph-inspector.html b/docs/glyph-inspector.html
index cc49e23e..aedc4889 100644
--- a/docs/glyph-inspector.html
+++ b/docs/glyph-inspector.html
@@ -161,7 +161,7 @@
Free Software
html += 'leftSideBearing'+glyph.leftSideBearing+'';
}
html += '';
- if (glyph.numberOfContours > 0) {
+ if (glyph.numberOfContours > 0 && window.font.variation) {
var contours = glyph.getContours(window.font.variation.getTransform(glyph, window.fontOptions.variation).points);
html += 'contours:' + contours.map(contourToString).join('\n') + '
';
} else if (glyph.isComposite) {