diff --git a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js index 48c0e40df..508909191 100644 --- a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js @@ -410,7 +410,7 @@ define([ this.inputDisplay.setValue(list); } else { var val = this.inputRange.getValue(); - this.inputDisplay.setValue(list + (list!=='' || val!=='' ? '!' : '') + val); + this.inputDisplay.setValue(list + (list!=='' && val!=='' ? '!' : '') + val); } } else {