Permalink
Browse files

Update alerts.js

  • Loading branch information...
1 parent 9f06ff6 commit 51e6477bca6adce5b79b65fbaac92a21a82fa3cc @TheJaredWilcurt TheJaredWilcurt committed on GitHub Dec 23, 2016
Showing with 3 additions and 3 deletions.
  1. +3 −3 scout-files/_scripts/alerts.js
@@ -79,9 +79,9 @@
.replace(/[\n\r]/g, '<br />')
.replace(file, '');
- var extraReturn = '';
- if (ugui.platform == 'linux') {
- extraReturn = '\n';
+ var extraReturn = '\n';
+ if (ugui.platform == 'win32') {
+ extraReturn = '';
}
// Make sure there are at least 3 lines in the file and the error isn't on the first or last line

0 comments on commit 51e6477

Please sign in to comment.