瀏覽代碼

fix bug

pull/1/head
10sr 11 年之前
父節點
當前提交
f2507035c9
共有 1 個檔案被更改,包括 14 行新增12 行删除
  1. +14
    -12
      _keysnail.js

+ 14
- 12
_keysnail.js 查看文件

@@ -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 {


Loading…
取消
儲存