Fix missing var sb = this;
Fix missing var sb = this; in Sidebar.prototype.addMiscPalette function in Sidebar.js Bug screenshot: https://ibb.co/mUjetTdevelopment
parent
e7f3573c91
commit
39df977672
|
@ -989,6 +989,9 @@ Sidebar.prototype.addBasicPalette = function(dir)
|
|||
*/
|
||||
Sidebar.prototype.addMiscPalette = function(expand)
|
||||
{
|
||||
// Avoids having to bind all functions to "this"
|
||||
var sb = this;
|
||||
|
||||
var lineTags = 'line lines connector connectors connection connections arrow arrows '
|
||||
|
||||
var fns = [
|
||||
|
|
Loading…
Reference in New Issue