update
This commit is contained in:
parent
5d27543f21
commit
f4a7506328
|
|
@ -3219,22 +3219,20 @@ $(document).ready(function () {
|
|||
fixTabKeyboardNav();
|
||||
});
|
||||
function removeBareUrlLinks() {
|
||||
setTimeout(function () {
|
||||
$('.dtr-control a').each(function () {
|
||||
var $a = $(this);
|
||||
var text = $a.text().trim();
|
||||
var href = $a.attr('href') || '';
|
||||
setTimeout(function() {
|
||||
$('#table0_wrapper td a').each(function() {
|
||||
var $a = $(this);
|
||||
var text = $a.text().trim();
|
||||
|
||||
// 判斷連結文字是否為網址(以 http:// 或 https:// 開頭)
|
||||
if (/^https?:\/\//i.test(text)) {
|
||||
$a.replaceWith(text);
|
||||
}
|
||||
});
|
||||
}, 500);
|
||||
if (/^https?:\/\//i.test(text)) {
|
||||
$a.replaceWith(text);
|
||||
}
|
||||
});
|
||||
}, 500);
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
removeBareUrlLinks();
|
||||
$(document).ready(function() {
|
||||
removeBareUrlLinks();
|
||||
});
|
||||
$(document).ready(function () {
|
||||
$('.widget-breadcrumb .breadcrumb li:last-child a').attr('aria-current', 'page');
|
||||
|
|
|
|||
|
|
@ -52,6 +52,15 @@
|
|||
}
|
||||
|
||||
&.widget2 {
|
||||
.gallery-text {
|
||||
height: 3em;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: normal;
|
||||
}
|
||||
a.gallery-text {
|
||||
display: block;
|
||||
min-height: 4em;
|
||||
|
|
|
|||
Loading…
Reference in New Issue