tot - Check-in [42]
Not logged in
[Browse]  [Home]  [Login]  [Reports]  [Search]  [Timeline
  [Patchset
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:
jquery/jquery.extlink.js      41 -> 42
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");