]> git.sesse.net Git - remoteglot-book/blobdiff - www/js/book.js
Do not care about the transposition flag for going _into_ this position.
[remoteglot-book] / www / js / book.js
index 6017fd9d0d5eb6a91a1238089c080a7af460c819..854d6ad6e86fb7f233b88604cefbef9bb31f2317 100644 (file)
@@ -66,13 +66,8 @@ var update = function() {
 var fetch_analysis = function() {
        var game = get_game();
        var fen = game.fen();
-       var prevfen = "";
-       if (move_override > 0) {
-               prevfen = get_game(true).fen();
-       }
        $.ajax({
                url: "/opening-stats.pl?fen=" + encodeURIComponent(fen) +
-                       ";prevfen=" + encodeURIComponent(prevfen) +
                        ";includetransp=" + (includetransp ? 1 : 0)
        }).done(function(data, textstatus, xhr) {
                show_lines(data, game);