提交 1dc3d870 编写于 作者: J Jason Park

fix link err

上级 5e40fc02
const app = require('../../app'); const app = require('../../app');
module.exports = () => { module.exports = () => {
$(document).on('click', 'a', (e) => { $(document).on('click', 'a', function (e) {
console.log(e);
e.preventDefault(); e.preventDefault();
if (!window.open($(this).attr('href'), '_blank')) { if (!window.open($(this).attr('href'), '_blank')) {
alert('Please allow popups for this site'); alert('Please allow popups for this site');
} }
}); });
$(document).mouseup(function(e) { $(document).mouseup(function (e) {
app.getTracerManager().command('mouseup', e); app.getTracerManager().command('mouseup', e);
}); });
}; };
\ No newline at end of file
此差异已折叠。
因为 它太大了无法显示 source diff 。你可以改为 查看blob
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册