Don't consider the time of the request to be part of the hash that we check locally before posting for a new compile

dev/git-series/gccdum
Matt Godbolt 11 years ago
parent 9be0eead60
commit 14c3198e90

@ -188,11 +188,11 @@ function Compiler(domRoot, origFilters, windowLocalPrefix, onChangeCallback) {
compiler: $('.compiler').val(),
options: $('.compiler_options').val(),
filters: pickOnlyRequestFilters(filters),
timestamp: +new Date()
};
setSetting('compiler', data.compiler);
setSetting('compilerOptions', data.options);
if (JSON.stringify(data) == JSON.stringify(lastRequest)) return;
data.timestamp: new Date(); // Only after we check for "same as last time"
lastRequest = data;
$.ajax({
type: 'POST',

Loading…
Cancel
Save