Sha256: 7aa4781afe2fb0ce8001f302b1984669825acff50088c4e7768a6733bbe50124

Contents?: true

Size: 392 Bytes

Versions: 4

Compression:

Stored size: 392 Bytes

Contents

// rewrite the view-source links
addLoadEvent(function () {
    var elems = getElementsByTagAndClassName("A", "view-source");
    var page = "logging_pane/";
    for (var i = 0; i < elems.length; i++) {
        var elem = elems[i];
        var href = elem.href.split(/\//).pop();
        elem.target = "_blank";
        elem.href = "../view-source/view-source.html#" + page + href;
    }
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
old_sql-1.16.0 public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.js
old_sql-1.15.0 public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.js
old_sql-1.14.0 public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.js
old_sql-1.13.0 public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.js