Skip to content

Commit d7ad3ab

Browse files
author
Martino
committed
Bugfix
Bugfix for the previous release
1 parent 32ac7e1 commit d7ad3ab

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reveal.js-simplemenu",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "A simple menu for Reveal.js",
55
"keywords": "reveal, reveal.js, reveal-plugin, plugin, menu",
66
"homepage": "https://github.com/Martinomagnifico/reveal.js-simplemenu",

plugin/simplemenu/plugin-src.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ const Plugin = () => {
1212
let menus = selectionArray(viewport, `.${options.menuclass}`);
1313
let menubars = selectionArray(viewport, `.${options.menubarclass}`);
1414
let slides = deck.getSlidesElement();
15-
let langattribute = deck.getConfig().internation.langattribute;
16-
15+
let langattribute = deck.getConfig().internation ? deck.getConfig().internation.langattribute : false;
1716

1817
function isBefore( a, b ) {
1918
var all = document.getElementsByTagName('*');

plugin/simplemenu/simplemenu.esm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* https://github.com/Martinomagnifico
55
*
66
* Simplemenu.js for Reveal.js
7-
* Version 1.0.6
7+
* Version 1.0.7
88
*
99
* @license
1010
* MIT licensed
@@ -26,7 +26,7 @@ var Plugin = function Plugin() {
2626
var menus = selectionArray(viewport, ".".concat(options.menuclass));
2727
var menubars = selectionArray(viewport, ".".concat(options.menubarclass));
2828
var slides = deck.getSlidesElement();
29-
var langattribute = deck.getConfig().internation.langattribute;
29+
var langattribute = deck.getConfig().internation ? deck.getConfig().internation.langattribute : false;
3030

3131
function isBefore(a, b) {
3232
var all = document.getElementsByTagName('*');

plugin/simplemenu/simplemenu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* https://github.com/Martinomagnifico
55
*
66
* Simplemenu.js for Reveal.js
7-
* Version 1.0.6
7+
* Version 1.0.7
88
*
99
* @license
1010
* MIT licensed
@@ -32,7 +32,7 @@
3232
var menus = selectionArray(viewport, ".".concat(options.menuclass));
3333
var menubars = selectionArray(viewport, ".".concat(options.menubarclass));
3434
var slides = deck.getSlidesElement();
35-
var langattribute = deck.getConfig().internation.langattribute;
35+
var langattribute = deck.getConfig().internation ? deck.getConfig().internation.langattribute : false;
3636

3737
function isBefore(a, b) {
3838
var all = document.getElementsByTagName('*');

0 commit comments

Comments
 (0)