mirror of https://github.com/mashirozx/sakura.git
commit
76a4905d80
|
@ -7,7 +7,7 @@
|
|||
* @package Sakura
|
||||
*/
|
||||
|
||||
define( 'SAKURA_VERSION', '3.2.5' );
|
||||
define( 'SAKURA_VERSION', '3.2.6' );
|
||||
define( 'BUILD_VERSION', '3' );
|
||||
define( 'JSDELIVR_VERSION', '3.6.7' );
|
||||
|
||||
|
@ -1515,7 +1515,7 @@ function html_tag_parser($content) {
|
|||
if(!is_feed()) {
|
||||
$content=preg_replace(
|
||||
'/<img(.+)src=[\'"]([^\'"]+)[\'"](.*)>/i',
|
||||
"<img\$1class=\"lazyload\" data-src=\"\$2\" src=\"https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.2/img/svg/loader/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"\$3 >\n<noscript>\$0</noscript>",
|
||||
"<img $1 class=\"lazyload\" data-src=\"$2\" src=\"https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.2/img/svg/loader/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\" $3 >\n<noscript>$0</noscript>",
|
||||
$content
|
||||
);
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ mashiro_global.variables = new function () {
|
|||
this.skinSecter = true;
|
||||
}
|
||||
mashiro_global.ini = new function () {
|
||||
this.normalize = function () {
|
||||
this.normalize = function () { // initial functions when page first load (首次加载页面时的初始化函数)
|
||||
lazyload();
|
||||
social_share();
|
||||
post_list_show_animation();
|
||||
|
@ -17,7 +17,7 @@ mashiro_global.ini = new function () {
|
|||
checkskinSecter();
|
||||
scrollBar();
|
||||
}
|
||||
this.pjax = function () {
|
||||
this.pjax = function () { // pjax reload functions (pjax 重载函数)
|
||||
pjaxInit();
|
||||
social_share();
|
||||
post_list_show_animation();
|
||||
|
|
Loading…
Reference in New Issue