Skip to content
Permalink
Browse files

closes #341

  • Loading branch information
barisusakli committed Sep 25, 2013
1 parent 1637ffc commit 585e5cd88f7401dfd8d2874491574e55de59f3ba
Showing with 10 additions and 4 deletions.
  1. +9 −2 public/templates/outgoing.tpl
  2. +1 −2 src/routes/api.js
@@ -13,6 +13,13 @@
</h3>
<p>
<a href="{url}" rel="nofollow" class="btn btn-primary btn-lg">Continue to {url}</a>
<a href="{home}" class="btn btn-lg btn-warning">Return to NodeBB</a>
<a id="return-btn" href="#" class="btn btn-lg btn-warning">Return to NodeBB</a>
</p>
</div>
</div>

<script>
$('#return-btn').on('click', function() {
history.back();
return false;
});
</script>
@@ -174,8 +174,7 @@ var user = require('./../user.js'),

if (url) {
res.json({
url: url,
home: nconf.get('url')
url: url
});
} else {
res.status(404);

0 comments on commit 585e5cd

Please sign in to comment.
You can’t perform that action at this time.