Skip to content

Commit 0549cde

Browse files
author
Emmanouil Konstantinidis
committed
Open notifications in browser
1 parent 18beb30 commit 0549cde

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/js/components/notification.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ var apiRequests = require('../utils/api-requests');
99
var Notification = React.createClass({
1010

1111
openBrowser: function () {
12-
shell.openExternal(url + this.props.notification.subject.url);
12+
var url = this.props.notification.subject.url.replace('api.github.com/repos', 'www.github.com');
13+
shell.openExternal(url);
1314
},
1415

1516
markAsRead: function () {

0 commit comments

Comments
 (0)