MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / confirm

Function confirm

ui/media/js/utils.js:942–955  ·  view source on GitHub ↗
(msg, title, fn)

Source from the content-addressed store, hash-verified

940}
941
942function confirm(msg, title, fn) {
943 title = title || ""
944 $.confirm({
945 theme: "modern",
946 title: title,
947 useBootstrap: false,
948 animateFromElement: false,
949 content: msg,
950 buttons: {
951 yes: fn,
952 cancel: () => { },
953 },
954 })
955}
956
957
958/* STORAGE MANAGEMENT */

Callers 2

shiftOrConfirmFunction · 0.85
deleteKeysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected