Skip to content

Commit 39ac5bc

Browse files
committed
Add loaded event
1 parent 608abc7 commit 39ac5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/studio/edit-link.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function submitFormWithParam(paramValue) {
135135
function LoadLinkTypeParams($TypeId, $LinkId) {
136136
var baseURL = <?php echo "\"" . url('') . "\""; ?>;
137137
$("#link_params").html('<div class="spinner-border text-primary" role="status"><span class="visually-hidden">Loading...</span></div>').load(baseURL + `/studio/linkparamform_part/${$TypeId}/${$LinkId}`);
138-
138+
setTimeout(function() { document.dispatchEvent(new Event('contentLoaded')); }, 300);
139139
}
140140
});
141141
</script>

0 commit comments

Comments
 (0)