[Bf-docboard-svn] bf-manual: [8357] trunk/blender_docs/resources/theme/js/version_switch.js: version switch: refactor build list fix

Tobias Heinke noreply at blender.org
Wed Sep 1 20:31:16 CEST 2021


Revision: 8357
          https://developer.blender.org/rBM8357
Author:   TobiasH
Date:     2021-09-01 20:31:16 +0200 (Wed, 01 Sep 2021)
Log Message:
-----------
version switch: refactor build list fix
copy-paste error
url is cloned to preserve the hash and search

Modified Paths:
--------------
    trunk/blender_docs/resources/theme/js/version_switch.js

Modified: trunk/blender_docs/resources/theme/js/version_switch.js
===================================================================
--- trunk/blender_docs/resources/theme/js/version_switch.js	2021-09-01 18:17:44 UTC (rev 8356)
+++ trunk/blender_docs/resources/theme/js/version_switch.js	2021-09-01 18:31:16 UTC (rev 8357)
@@ -147,7 +147,7 @@
 		} else {
 			pathSplit[2 + that.type] = ix;
 			var href = new URL(url);
-			var href.pathname = pathSplit.join('/');
+			href.pathname = pathSplit.join('/');
 			buf.push(' tabindex="-1" role="presentation"><a href ="' + href + '" tabindex="-1">' + title + '</a></li>');
 		}
 	});



More information about the Bf-docboard-svn mailing list