Explorar o código

Allow for inline JavaScript in html

Steven Silvester %!s(int64=7) %!d(string=hai) anos
pai
achega
c91eb50f24
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/rendermime/src/widgets.ts

+ 1 - 1
packages/rendermime/src/widgets.ts

@@ -39,7 +39,7 @@ abstract class RenderedCommon extends Widget implements IRenderMime.IRenderer {
     this.sanitizer = options.sanitizer;
     this.resolver = options.resolver;
     this.linkHandler = options.linkHandler;
-    this.node.dataset['mime-type'] = this.mimeType;
+    this.node.dataset['mimeType'] = this.mimeType;
   }
 
   /**