{"action":"created","issue":{"url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/1295","repository_url":"https://api.github.com/repos/sweetalert2/sweetalert2","labels_url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/1295/labels{/name}","comments_url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/1295/comments","events_url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/1295/events","html_url":"https://github.com/sweetalert2/sweetalert2/issues/1295","id":381506338,"node_id":"MDU6SXNzdWUzODE1MDYzMzg=","number":1295,"title":"Trying to upgrade from sweetalert to sweetalert2","user":{"login":"vamsits","id":40022472,"node_id":"MDQ6VXNlcjQwMDIyNDcy","avatar_url":"https://avatars3.githubusercontent.com/u/40022472?v=4","gravatar_id":"","url":"https://api.github.com/users/vamsits","html_url":"https://github.com/vamsits","followers_url":"https://api.github.com/users/vamsits/followers","following_url":"https://api.github.com/users/vamsits/following{/other_user}","gists_url":"https://api.github.com/users/vamsits/gists{/gist_id}","starred_url":"https://api.github.com/users/vamsits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vamsits/subscriptions","organizations_url":"https://api.github.com/users/vamsits/orgs","repos_url":"https://api.github.com/users/vamsits/repos","events_url":"https://api.github.com/users/vamsits/events{/privacy}","received_events_url":"https://api.github.com/users/vamsits/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-16T09:02:09Z","updated_at":"2018-11-16T09:30:24Z","closed_at":null,"author_association":"NONE","body":"We have sweetalert in our application and now trying to implement sweetalert 2. Mainly we are going for sweetaler2 to swap the YES and NO buttons. I followed below steps:\r\n```\r\nbower install --save sweetalert2\r\n\"angular-sweetalert\": \"latest\" {added in the bower.json}\r\nbower install swangular\r\n```\r\nCommented the older sweetalert parameters in the index.html\r\n```\r\n<!-- <link rel=\"stylesheet\" type=\"text/css\" href=\"components/bootstrap-sweetalert/lib/sweet-alert.css\"> -->\r\n <!-- <script src=\"components/bootstrap-sweetalert/lib/sweet-alert.js\"></script> -->\r\n<!-- <script src=\"components/angular-sweetalert/SweetAlert.js\"></script> -->\r\n```\r\nAnd added following in the index.html\r\n```\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"components/sweetalert2/dist/sweetalert2.min.css\">\r\n<script src=\"components/sweetalert2/dist/sweetalert2.all.min.js\"></script>\r\n<script src=\"components/swangular/swangular.js\"></script>\r\n```\r\nAfter these changes the new sweetalert2 started working.\r\nBut it is not appearing normally. Attached is the screenshot. Please let me know on how to show it as a sweetalert 1 like white background and blue YES button and Grey cancel button. \r\n\r\n![](https://user-images.githubusercontent.com/40022472/48611520-74eaed00-e9ac-11e8-8a41-6e10c660d341.png)\r\n"},"comment":{"url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/comments/439334453","html_url":"https://github.com/sweetalert2/sweetalert2/issues/1295#issuecomment-439334453","issue_url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/1295","id":439334453,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTMzNDQ1Mw==","user":{"login":"gverni","id":17089396,"node_id":"MDQ6VXNlcjE3MDg5Mzk2","avatar_url":"https://avatars2.githubusercontent.com/u/17089396?v=4","gravatar_id":"","url":"https://api.github.com/users/gverni","html_url":"https://github.com/gverni","followers_url":"https://api.github.com/users/gverni/followers","following_url":"https://api.github.com/users/gverni/following{/other_user}","gists_url":"https://api.github.com/users/gverni/gists{/gist_id}","starred_url":"https://api.github.com/users/gverni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gverni/subscriptions","organizations_url":"https://api.github.com/users/gverni/orgs","repos_url":"https://api.github.com/users/gverni/repos","events_url":"https://api.github.com/users/gverni/events{/privacy}","received_events_url":"https://api.github.com/users/gverni/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T09:30:24Z","updated_at":"2018-11-16T09:30:24Z","author_association":"MEMBER","body":"Hello @vamsits would you be able to share your sweetalert code using http://sweetalert2.glitch.me/? You need to click on `Remix on glitch` then add your `swal` code and then paste here the new url you are given by glitch. "}}
{"actor":{"display_login":"gverni"}}