Fixes a possible stacktrace in navbar().
This commit is contained in:
parent
68539c2a5a
commit
8800fb2ec7
2
bulma.js
2
bulma.js
@ -75,7 +75,7 @@
|
|||||||
var useContainer, classes, innerNavbar;
|
var useContainer, classes, innerNavbar;
|
||||||
args || (args = {});
|
args || (args = {});
|
||||||
useContainer = args.useContainer || false;
|
useContainer = args.useContainer || false;
|
||||||
classes = args.classes || void 8;
|
classes = args.classes || {};
|
||||||
innerNavbar = function(){
|
innerNavbar = function(){
|
||||||
var start, end;
|
var start, end;
|
||||||
return [args.brand ? h('div.navbar-brand', args.brand) : void 8, args.start || args.end ? h('div.navbar-menu', [(start = args.start) ? h('div.navbar-start', start) : void 8, (end = args.end) ? h('div.navbar-end', end) : void 8]) : void 8];
|
return [args.brand ? h('div.navbar-brand', args.brand) : void 8, args.start || args.end ? h('div.navbar-menu', [(start = args.start) ? h('div.navbar-start', start) : void 8, (end = args.end) ? h('div.navbar-end', end) : void 8]) : void 8];
|
||||||
|
Loading…
Reference in New Issue
Block a user