'确认'未定义:javascript中的错误(在jenkins构建或grunt分析中)

时间:2017-03-15 04:39:54

标签: javascript angularjs

var answer = confirm('Are you sure you want to Navigate away from this page? ');

if(!answer) {
  event.preventDefault();
}

Github

0 个答案:

没有答案