git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
consolidation of Platform isJS calls
[jalview.git]
/
src
/
jalview
/
util
/
BrowserLauncher.java
diff --git
a/src/jalview/util/BrowserLauncher.java
b/src/jalview/util/BrowserLauncher.java
index
a55a65c
..
f47ca23
100755
(executable)
--- a/
src/jalview/util/BrowserLauncher.java
+++ b/
src/jalview/util/BrowserLauncher.java
@@
-735,14
+735,15
@@
public class BrowserLauncher
public static void openURL(String url) throws IOException
{
+ if (Platform.openURL(url))
+ {
+ return;
+ }
/**
- * @j2sNative
- *
- * window.open(url);
- *
+ * Java only
*
+ * @j2sNative
*/
-
{
if (!loadedWithoutErrors)