summaryrefslogtreecommitdiff
path: root/tests/frontend
diff options
context:
space:
mode:
authorwebzwo0i <webzwo0i@c3d2.de>2015-01-07 07:03:53 +0100
committerwebzwo0i <webzwo0i@c3d2.de>2015-01-07 07:03:53 +0100
commitce156540bab1754dd569acd3532ff7c26ed73161 (patch)
tree87d02a210fe69c4291a98a44b5ae69c88d060c63 /tests/frontend
parent5dd64dfc77a0b22bd32c72f4e6426dd924cc3243 (diff)
downloadetherpad-lite-ce156540bab1754dd569acd3532ff7c26ed73161.zip
fix importexport-tests
Diffstat (limited to 'tests/frontend')
-rw-r--r--tests/frontend/specs/importexport.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/frontend/specs/importexport.js b/tests/frontend/specs/importexport.js
index 4ba8d57b..59607dba 100644
--- a/tests/frontend/specs/importexport.js
+++ b/tests/frontend/specs/importexport.js
@@ -6,6 +6,9 @@ describe("import functionality", function(){
function getinnertext(){
var inner = helper.padInner$
+ if(!inner){
+ return ""
+ }
var newtext = ""
inner("div").each(function(line,el){
newtext += el.innerHTML+"\n"