Skip to content

Commit 0de992a

Browse files
committed
Cleanup
1 parent a85f99d commit 0de992a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/BlazorFrame/BlazorFrame.razor.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,9 @@ private Dictionary<string, object> IframeAttributes
8787
{
8888
var attributes = new Dictionary<string, object>(AdditionalAttributes);
8989

90-
// Add sandbox attribute only if it has a value
9190
var sandboxValue = EffectiveSandboxValue;
9291
if (!string.IsNullOrEmpty(sandboxValue))
9392
{
94-
// User's AdditionalAttributes sandbox takes precedence over computed value
9593
if (!attributes.ContainsKey("sandbox"))
9694
{
9795
attributes["sandbox"] = sandboxValue;

0 commit comments

Comments
 (0)