Skip to content
This repository was archived by the owner on Dec 31, 2022. It is now read-only.

Commit 689cc25

Browse files
committed
LABjs.next: fixing bug with canonical_uri usage
1 parent d169fc0 commit 689cc25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

next/LAB.src.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
function is_array(arr) { return Object.prototype.toString.call(arr) == "[object Array]"; }
5555

5656
// test if script URL is on same domain as page or not
57-
function same_domain(src) { return (canonical_uri(src).indexOf(root_domain) == 0); }
57+
function same_domain(src) { return (canonical_uri(src,root_domain).indexOf(root_domain) == 0); }
5858

5959
// make script URL absolute/canonical
6060
function canonical_uri(src,base_path) {

0 commit comments

Comments
 (0)