瀏覽代碼

Fire correct jquery function for ratio buttons.

pull/24/head
Ben Kurtovic 9 年之前
父節點
當前提交
67ad09f0ec
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      static/script.js

+ 3
- 1
static/script.js 查看文件

@@ -93,10 +93,12 @@ $(document).ready(function() {
$("#cv-cb-engine").prop("disabled", false);
$("#cv-cb-links").prop("disabled", false);
$("#url-box").prop("disabled", true);
}).change();
});
$("#action-compare").change(function() {
$("#cv-cb-engine").prop("disabled", true);
$("#cv-cb-links").prop("disabled", true);
$("#url-box").prop("disabled", false);
});
if ($("#action-search" ).is(":checked")) $("#action-search" ).change();
if ($("#action-compare").is(":checked")) $("#action-compare").change();
});

Loading…
取消
儲存