From 37f3370c04575090f06d6a76d746d770aa4c6109 Mon Sep 17 00:00:00 2001 From: Timothy Jones Date: Wed, 4 Jul 2018 12:16:09 +1000 Subject: [PATCH] Fix typos --- README.md | 4 ++-- src/lex-web-ui-loader/css/lex-web-ui-iframe.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4392402a..4e04b3bf 100755 --- a/README.md +++ b/README.md @@ -314,7 +314,7 @@ page](#stand-alone-page) section. // as a JSON file or events. The configUrl variable in the // loaderOptions above can be used to put these config values in a file // instead of explicitly passing it as an argument. - var chatbotUiconfig = { + var chatbotUiConfig = { ui: { // origin of the parent site where you are including the chatbot UI // set to window.location.origin since hosting on same site @@ -337,7 +337,7 @@ page](#stand-alone-page) section. // Call the load function which returns a promise that is resolved // once the component is loaded or is rejected if there is an error - iframeLoader.load(chabotUiConfig) + iframeLoader.load(chatbotUiConfig) .then(function () { console.log('iframe loaded'); }) diff --git a/src/lex-web-ui-loader/css/lex-web-ui-iframe.css b/src/lex-web-ui-loader/css/lex-web-ui-iframe.css index b5e7ec57..4acc2f6e 100644 --- a/src/lex-web-ui-loader/css/lex-web-ui-iframe.css +++ b/src/lex-web-ui-loader/css/lex-web-ui-iframe.css @@ -44,7 +44,7 @@ and (max-width: 480px) { margin-right: 2vw; align-self: center; } - .lex-web-ui-ifame--minimize { + .lex-web-ui-iframe--minimize { min-width: 60vw; height: 48px; }