diff --git a/intro.js b/intro.js index 9e8eb7f85..7b8c1234d 100644 --- a/intro.js +++ b/intro.js @@ -1,5 +1,5 @@ /** - * Intro.js v2.4.0 + * Intro.js v2.4.1 * https://github.com/usablica/intro.js * * Copyright (C) 2016 Afshin Mehrabani (@afshinmeh) @@ -1040,6 +1040,7 @@ prevTooltipButton.className = 'introjs-button introjs-prevbutton'; nextTooltipButton.className = 'introjs-button introjs-nextbutton'; skipTooltipButton.innerHTML = this._options.skipLabel; + nextTooltipButton.innerHTML = this._options.nextLabel; } //Set focus on "next" button, so that hitting Enter always moves you onto the next step diff --git a/introjs.css b/introjs.css index 8e64898d7..793edde8a 100644 --- a/introjs.css +++ b/introjs.css @@ -122,19 +122,19 @@ tr.introjs-showElement > th { } .introjs-arrow { - border: 5px solid white; + border: 8px solid white; content:''; position: absolute; } .introjs-arrow.top { - top: -10px; + top: -16px; border-top-color:transparent; border-right-color:transparent; border-bottom-color:white; border-left-color:transparent; } .introjs-arrow.top-right { - top: -10px; + top: -16px; right: 10px; border-top-color:transparent; border-right-color:transparent; @@ -142,7 +142,7 @@ tr.introjs-showElement > th { border-left-color:transparent; } .introjs-arrow.top-middle { - top: -10px; + top: -16px; left: 50%; margin-left: -5px; border-top-color:transparent; @@ -151,7 +151,7 @@ tr.introjs-showElement > th { border-left-color:transparent; } .introjs-arrow.right { - right: -10px; + right: -16px; top: 10px; border-top-color:transparent; border-right-color:transparent; @@ -160,21 +160,21 @@ tr.introjs-showElement > th { } .introjs-arrow.right-bottom { bottom:10px; - right: -10px; + right: -16px; border-top-color:transparent; border-right-color:transparent; border-bottom-color:transparent; border-left-color:white; } .introjs-arrow.bottom { - bottom: -10px; + bottom: -16px; border-top-color:white; border-right-color:transparent; border-bottom-color:transparent; border-left-color:transparent; } .introjs-arrow.left { - left: -10px; + left: -16px; top: 10px; border-top-color:transparent; border-right-color:white; @@ -182,7 +182,7 @@ tr.introjs-showElement > th { border-left-color:transparent; } .introjs-arrow.left-bottom { - left: -10px; + left: -16px; bottom:10px; border-top-color:transparent; border-right-color:white; diff --git a/package.json b/package.json index cb267b874..2b33c2466 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "intro.js", "description": "Better introductions for websites and features with a step-by-step guide for your projects", - "version": "2.4.0", + "version": "2.4.1", "author": "Afshin Mehrabani ", "homepage": "http://introjs.com/", "repository": {