fix undefined reference

pull/1/head
ansuz 8 years ago
parent f8f97036be
commit f196b836db

@ -16,6 +16,7 @@ define([
var $iframe = $('#pad-iframe').contents(); var $iframe = $('#pad-iframe').contents();
Cryptpad.addLoadingScreen(); Cryptpad.addLoadingScreen();
var toolbar;
var andThen = function () { var andThen = function () {
var $bar = $iframe.find('.toolbar-container'); var $bar = $iframe.find('.toolbar-container');
@ -38,9 +39,7 @@ define([
common: Cryptpad common: Cryptpad
}; };
toolbar = Toolbar.create($bar, null, null, null, null, configTb); toolbar = Toolbar.create($bar, null, null, null, null, configTb);
}); });
}; };
Cryptpad.ready(function (err, anv) { Cryptpad.ready(function (err, anv) {

Loading…
Cancel
Save