File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -732,23 +732,11 @@ function changeAccordionButtonText(button, text) {
732732}
733733
734734function showBuySellWidgets ( ) {
735-
736- var sellWidget = window . MoonPayWebSdk . init ( {
737- flow : 'sell' ,
738- environment : 'production' ,
739- containerNodeSelector : '#sell-widget' ,
740- variant : 'embedded' ,
741- params : {
742- theme : 'light' ,
743- colorCode : '#FF9500' ,
744- apiKey : 'pk_live_QWvwDl3WJAq7S8fDjsOUMfjn09DSw8R'
745- }
746- } ) ;
747735
748736 var buyWidget = window . MoonPayWebSdk . init ( {
749737 flow : 'buy' ,
750738 environment : 'production' ,
751- containerNodeSelector : '# buy-widget' ,
739+ containerNodeSelector : '. buy-widget' ,
752740 variant : 'embedded' ,
753741 params : {
754742 apiKey : 'pk_live_QWvwDl3WJAq7S8fDjsOUMfjn09DSw8R' ,
@@ -757,7 +745,6 @@ function showBuySellWidgets() {
757745 }
758746 } ) ;
759747
760- sellWidget . show ( ) ;
761748 buyWidget . show ( ) ;
762749}
763750
You can’t perform that action at this time.
0 commit comments