Pārlūkot izejas kodu

fix bug

pull/1/head
10sr pirms 11 gadiem
vecāks
revīzija
f2507035c9
1 mainītis faili ar 14 papildinājumiem un 12 dzēšanām
  1. +14
    -12
      _keysnail.js

+ 14
- 12
_keysnail.js Parādīt failu

@@ -261,11 +261,7 @@ var echoTabInfo = (function(){
}

function __display(msg){
var doc = content ? content.document : document;
var dBody = doc.body;
if (dBody && !util.isFrameSetWindow(content)) {
display.echoStatusBar(msg);
}
display.echoStatusBar(msg);
}

function echo(){
@@ -279,13 +275,19 @@ var echoTabInfo = (function(){
var idx = currenttab._tPos;
var title = window.content.document.title;
var url = window.content.location.href;
_display(
"[" +
(idx + 1).toString() + "/" +
len.toString() + "] " +
title + " <" +
decodeURIComponent(url) + ">"
);

var doc = content ? content.document : document;
var dBody = doc.body;
if (dBody && !util.isFrameSetWindow(content)) {
// if page has been prepared
_display(
"[" +
(idx + 1).toString() + "/" +
len.toString() + "] " +
title + " <" +
decodeURIComponent(url) + ">"
);
}
}

return {


Notiek ielāde…
Atcelt
Saglabāt