Do not cache has-selection in diff view js