fix alert msg in remix-alpha

pull/3094/head
yann300 7 years ago
parent 3af75d24c6
commit 60317da6d3
  1. 4
      src/app.js

@ -210,8 +210,8 @@ function run () {
if (window.location.hostname === 'yann300.github.io') { if (window.location.hostname === 'yann300.github.io') {
modalDialogCustom.alert('This UNSTABLE ALPHA branch of Remix has been moved to http://ethereum.github.io/remix-live-alpha.') modalDialogCustom.alert('This UNSTABLE ALPHA branch of Remix has been moved to http://ethereum.github.io/remix-live-alpha.')
} else if (window.location.hostname === 'ethereum.github.io' && } else if (window.location.hostname === 'remix-alpha.ethereum.org' ||
window.location.pathname.indexOf('/remix-live-alpha') === 0) { (window.location.hostname === 'ethereum.github.io' && window.location.pathname.indexOf('/remix-live-alpha') === 0)) {
modalDialogCustom.alert(`This instance of the Remix IDE is an UNSTABLE ALPHA branch.\n modalDialogCustom.alert(`This instance of the Remix IDE is an UNSTABLE ALPHA branch.\n
Please only use it if you know what you are doing, otherwise visit the stable version at http://remix.ethereum.org.`) Please only use it if you know what you are doing, otherwise visit the stable version at http://remix.ethereum.org.`)
} else if (window.location.protocol.indexOf('http') === 0 && } else if (window.location.protocol.indexOf('http') === 0 &&

Loading…
Cancel
Save