Skip to content

Commit

Permalink
안내메시지 modal 이 노출되면서 예약이 진행되지 않는 문제 해결
Browse files Browse the repository at this point in the history
안내 메시지를 확인하는 function 을 override 하여 해결

#5
  • Loading branch information
gubug0 committed Jun 27, 2016
1 parent 9ff309a commit 672e4be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function injectJs(srcFile) {

function redirectPage(href) {
if (href.indexOf("javascript:") == 0) {
href = "window.showModalDialog=window.showModalDialog || function(url, arg, opt) {window.open(url, arg, opt);};window.confirm=function (str) {return true;};" + href.substring(11, href.length);
href = "window.showModalDialog=window.showModalDialog || function(url, arg, opt) {window.open(url, arg, opt);};window.confirm=function (str) {return true;};infochk=function(a,b){infochk2(a,b);};" + href.substring(11, href.length);
location.href = "javascript:" + href;
} else {
location.href = href;
Expand Down

0 comments on commit 672e4be

Please sign in to comment.