mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-12 01:50:52 +01:00
Fixed double triggering of analytics events
This commit is contained in:
parent
fc4deb3daf
commit
1864463e5c
32
material/assets/javascripts/bundle.6e8eee23.min.js
vendored
Normal file
32
material/assets/javascripts/bundle.6e8eee23.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
material/assets/javascripts/bundle.6e8eee23.min.js.map
Normal file
7
material/assets/javascripts/bundle.6e8eee23.min.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -217,7 +217,7 @@
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/bundle.926459b3.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.6e8eee23.min.js' | url }}"></script>
|
||||
{% for path in config["extra_javascript"] %}
|
||||
<script src="{{ path | url }}"></script>
|
||||
{% endfor %}
|
||||
|
@ -15,5 +15,5 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */
|
||||
//# sourceMappingURL=bundle.b76a2349.min.js
|
||||
//# sourceMappingURL=bundle.fbf44fce.min.js
|
||||
|
File diff suppressed because one or more lines are too long
@ -53,5 +53,5 @@
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
{{ super() }}
|
||||
<script src="{{ 'overrides/assets/javascripts/bundle.b76a2349.min.js' | url }}"></script>
|
||||
<script src="{{ 'overrides/assets/javascripts/bundle.fbf44fce.min.js' | url }}"></script>
|
||||
{% endblock %}
|
||||
|
@ -20,7 +20,7 @@
|
||||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
import { BehaviorSubject, Subject } from "rxjs"
|
||||
import { Subject } from "rxjs"
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
* Functions
|
||||
@ -57,5 +57,5 @@ export function setLocation(url: URL): void {
|
||||
* @returns Location subject
|
||||
*/
|
||||
export function watchLocation(): Subject<URL> {
|
||||
return new BehaviorSubject<URL>(getLocation())
|
||||
return new Subject<URL>()
|
||||
}
|
||||
|
@ -219,7 +219,6 @@ export function setupInstantLoading(
|
||||
const response$ = location$
|
||||
.pipe(
|
||||
distinctUntilKeyChanged("pathname"),
|
||||
skip(1),
|
||||
switchMap(url => request(url.href)
|
||||
.pipe(
|
||||
catchError(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user