Skip to content

Commit 1202121

Browse files
authored
Merge pull request #1663 from adsingh14/auto-download-setup
Remove windows-setup auto download functionality
2 parents cc8caec + 7dd4d3b commit 1202121

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

app/assets/javascripts/application.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,6 @@ var Downloads = {
240240
Downloads.filterGUIS();
241241
},
242242

243-
shouldAutoDownload: function(ref, src) {
244-
if (!ref || !src) {
245-
return false;
246-
}
247-
return ref.indexOf(document.location.origin) === 0;
248-
},
249-
250243
getOSFilter: function() {
251244
var os = location.href.substring(location.href.lastIndexOf("/") + 1);
252245
return os === 'linux' || os === 'mac' || os === 'windows' || os === 'android' || os === 'ios' ? os : '';

0 commit comments

Comments
 (0)