Check-in Number:
|
42 | |
Date: |
2008-Oct-25 10:09:54 (local)
2008-Oct-25 08:09:54 (UTC) |
User: | rse |
Branch: | |
Comment: |
use sitefile: as is
|
Tickets: |
|
Inspections: |
|
Files: |
|
Modified: jquery/jquery.extlink.js
===================================================================
--- jquery/jquery.extlink.js 2008-08-28 17:35:18 UTC (rev 41)
+++ jquery/jquery.extlink.js 2008-10-25 08:09:54 UTC (rev 42)
@@ -16,7 +16,7 @@
prefix = "";
var site = String(document.location)
.replace(/^(https?:\/\/[^:\/]+).*$/, "$1")
- .replace(/^((site)?(file:\/\/.+\/))[^\/]+$/, "$3")
+ .replace(/^((site)?file:\/\/.+\/)[^\/]+$/, "$1")
.replace(/(\\.)/g, "\\$1");
$("a", this).filter(function (i) {
var href = $(this).attr("href");