mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Store load settings in URL fragment, not query string
This commit is contained in:
@@ -14,8 +14,7 @@ window.onload = function() {
|
||||
cacheDir = path.join(cacheDir, 'root');
|
||||
}
|
||||
|
||||
// Skip "?loadSettings=".
|
||||
var rawLoadSettings = decodeURIComponent(location.search.substr(14));
|
||||
var rawLoadSettings = decodeURIComponent(location.hash.substr(1));
|
||||
var loadSettings;
|
||||
try {
|
||||
loadSettings = JSON.parse(rawLoadSettings);
|
||||
|
||||
Reference in New Issue
Block a user