网页错误强迫症请进

Bug,需求以及想法
回复
hunankuai
帖子: 1
注册时间: 2019年 6月 20日 12:59

网页错误强迫症请进

帖子 hunankuai »

代码: 全选

   
 function applyUpdate(update) {
       if (update != null) { //由于为验证 数据是否为空,直接调用js熟悉 console抛异常
          if (update.available) {
             $('<div class="update-check message error"><p>'
                + '<?php _e('您当前使用的版本是 %s'); ?>'.replace('%s', update.current) + '<br />'
                + '<strong><a href="' + update.link + '" target="_blank">'
                + '<?php _e('官方最新版本是 %s'); ?>'.replace('%s', update.latest) + '</a></strong></p></div>')
             .insertAfter('.typecho-page-title').effect('highlight');
          }
       }
    }



代码: 全选

/admin/index.php

修改一处 js验证导致的 报错
回复