Проверьте имя доктора в JavaScript
var path = window.location.pathname;
var page = path.split("/").pop();
console.log( page );
Jeff Spicoli
var path = window.location.pathname;
var page = path.split("/").pop();
console.log( page );
var path = window.location.pathname;
var page = path.split("/").pop();
console.log(page);