Skip to content

Commit

Permalink
Fix #413 following link in jar builds
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgeiger committed Nov 30, 2015
1 parent a181cf9 commit c9fdbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/sf/jabref/gui/help/HelpContent.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public void setPage(String filename, Class<?> resourceOwner) {
*/
@Override
public void setPage(URL url) {
if ("file".equals(url.getProtocol())) {
if ("file".equals(url.getProtocol()) || "jar".equals(url.getProtocol())) {
// Creating file by url.toString() and using file.getName() preserves anchors
File file = new File(url.toString());
setPage(file.getName(), JabRef.class);
Expand Down

0 comments on commit c9fdbce

Please sign in to comment.