[editor] Only spin on manual compatibility check
@@ -1165,14 +1165,14 @@ var EditorViewModel = (function() {
lastCompatibilityRequest.abort();
}
- logGA('compatibility');
- self.compatibilityCheckRunning(true);
- self.hasSuggestion(false);
-
if (!targetPlatform) {
targetPlatform = self.type();
}
+ logGA('compatibility');
+ self.compatibilityCheckRunning(targetPlatform != self.type());
+ self.hasSuggestion(false);
+
self.compatibilityTarget(targetPlatform);
lastCompatibilityRequest = $.post("/notebook/api/optimizer/statement/compatibility", {
