From 73deb6722e6380b74dbab0cd7d0eb28975b99a95 Mon Sep 17 00:00:00 2001 From: WhiteFox_0 Date: Wed, 13 Jul 2016 17:43:32 +0300 Subject: [PATCH] jsGettingStarted.html minor fixes also added pre css to wordwrap --- docsv2/overview/jsGettingStarted.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docsv2/overview/jsGettingStarted.md b/docsv2/overview/jsGettingStarted.md index b2d7af0..3ae3f1c 100644 --- a/docsv2/overview/jsGettingStarted.md +++ b/docsv2/overview/jsGettingStarted.md @@ -210,6 +210,10 @@ We also create a basic `index.html` file: .main-container { padding-top: 70px; } + + pre { + white-space: pre-wrap; + } pre:empty { display: none; @@ -903,7 +907,7 @@ $('.js-logout').click(function () { When clicking the `Logout` button, the user will be redirected to IdentityServer so that the session cookie is cleared. -[logout](https://cloud.githubusercontent.com/assets/6102639/12256384/d9de8df0-b950-11e5-91b2-650a0a749a7f.png) +![logout](https://cloud.githubusercontent.com/assets/6102639/12256384/d9de8df0-b950-11e5-91b2-650a0a749a7f.png) _Please note the screenshot above shows a page served by IdentityServer, not the JS application_ @@ -1182,4 +1186,4 @@ If it fails, the user must have logged out, so we have to ask him to log in agai We can simulate that by opening two tabs to the `index.html` file, logging in both of them. Inspecting `manager.session_state` in the console will give the same value. If we log out from one tab, we are redirected to IdentityServer where the session cookie will be cleared. Next time the session state is computed in the IdentityServer iframe of the other tab, -it will detect that it has changed. \ No newline at end of file +it will detect that it has changed.