Skip to content

Commit

Permalink
empty
Browse files Browse the repository at this point in the history
  • Loading branch information
rjolly committed Apr 14, 2018
1 parent 964552c commit 885ab12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions html/src/linoleum/html/Browser.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private void update() {
}

private void setURL(final String str) {
try {
if (!str.isEmpty()) try {
setURL(new URL(str));
} catch (final MalformedURLException ex) {
ex.printStackTrace();
Expand All @@ -123,7 +123,7 @@ public JEditorPane getEditorPane() {
}

private void open(final String str) {
if (!reload && !str.isEmpty()) {
if (!reload) {
setURL(str);
}
open();
Expand All @@ -136,7 +136,7 @@ public void load() {
}

private String getHome() {
return prefs.get(getKey("home"), "file:");
return prefs.get(getKey("home"), "");
}

private int getFontSize() {
Expand Down

0 comments on commit 885ab12

Please sign in to comment.