Raanan Weber 7 лет назад
Родитель
Сommit
8431119f4f
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      Viewer/src/configuration/configuration.ts
  2. 1 1
      Viewer/src/configuration/mappers.ts

+ 1 - 1
Viewer/src/configuration/configuration.ts

@@ -216,7 +216,7 @@ export let defaultConfiguration: ViewerConfiguration = {
                 disableOnFullscreen: false*/
             },
             events: {
-                pointerdown: { '#fullscreen-button': true/*, '#help-button': true*/ }
+                pointerdown: { 'fullscreen-button': true/*, '#help-button': true*/ }
             }
         },
         overlay: {

+ 1 - 1
Viewer/src/configuration/mappers.ts

@@ -22,7 +22,7 @@ class HTMLMapper implements IMapper {
                 //convert html-style to json-style
                 let camelKey = kebabToCamel(key);
                 if (idx === split.length - 1) {
-                    let val: any = attr.nodeValue;
+                    let val: any = attr.nodeValue; // firefox warns nodeValue is deprecated, but I found no sign of it anywhere.
                     if (val === "true") {
                         val = true;
                     } else if (val === "false") {