Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
MustafaDon777 authored Aug 27, 2023
1 parent 88e8fd2 commit e04c7fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h1>Open Links in New Tabs</h1>
event.preventDefault();

var linkList = document.getElementById("linkList").value;
var links = linkList.split('\n').map(link => link.trim());
var links = linkList.replace(/\s+/g, '\n').split('\n').map(link => link.trim());

var useHttp = document.getElementById("httpCheckbox").checked;
var includeNoNumber = document.getElementById("noNumberCheckbox").checked;
Expand Down

0 comments on commit e04c7fe

Please # to comment.