only add the splitter once

pull/1/head
Pierre Bondoerffer 7 years ago
parent 4026994310
commit 9dce40f3af
No known key found for this signature in database
GPG Key ID: C0C7C0C5063F2236

@ -388,6 +388,7 @@ define([
});
// add the splitter
if (!$iframe.has('.cp-splitter').length) {
var $preview = $iframe.find('#previewContainer');
var splitter = $('<div>', {
'class': 'cp-splitter'
@ -412,6 +413,7 @@ define([
$target.css('width', (w - x + evt.pageX) + 'px');
});
});
}
Cryptpad.removeLoadingScreen();
setEditable(true);

Loading…
Cancel
Save