This commit is contained in:
Ross
2021-10-16 16:57:40 +01:00
parent 21f3edee21
commit 3ef40b2c3e
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -15,9 +15,9 @@ $(document).ready(function () {
$("table tbody input").prop("checked", status);
})
$(".answer-list li").each(function (index, element) {
$(element).append($("<span class='google-link' title='search for answer with google'><a href='https://www.google.com/search?q=" + $(element).text() + "' target='_blank'>G</a></span>"));
});
//$(".answer-list li").each(function (index, element) {
// $(element).append($("<span class='google-link' title='search for answer with google'><a href='https://www.google.com/search?q=" + $(element).text() + "' target='_blank'>G</a></span>"));
//});
$(".answer-list span.answer").each(function (index, element) {
console.log(element);
+3 -3
View File
@@ -15,9 +15,9 @@ $(document).ready(function () {
$("table tbody input").prop("checked", status);
})
$(".answer-list li").each(function (index, element) {
$(element).append($("<span class='google-link' title='search for answer with google'><a href='https://www.google.com/search?q=" + $(element).text() + "' target='_blank'>G</a></span>"));
});
//$(".answer-list li").each(function (index, element) {
// $(element).append($("<span class='google-link' title='search for answer with google'><a href='https://www.google.com/search?q=" + $(element).text() + "' target='_blank'>G</a></span>"));
//});
$(".answer-list span.answer").each(function (index, element) {
console.log(element);