Skip to content

Commit 845327a

Browse files
committed
Updated button-editor
1 parent 08da6fa commit 845327a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/Http/Controllers/UserController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public function editCSS(request $request)
262262
} else {
263263
Link::where('id', $linkId)->update([]);
264264
}
265-
return header("Refresh:0");
265+
return Redirect('#result');
266266
}
267267

268268
//Show littlelinke page for edit
@@ -328,4 +328,4 @@ public function editProfile(request $request)
328328
}
329329
return back();
330330
}
331-
}
331+
}

resources/views/studio/button-editor.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
<button type="submit" class="mt-3 ml-3 btn btn-info">Reset to default</button>
243243
</form>
244244
245-
<br><br><div style="left: 1%; position: relative; background-color:#2c2d3a; border-radius: 25px; min-width:300px; max-width:950px; height:300px; box-shadow: 0 10px 20px -10px rgba(0,0,0, 0.6);">
245+
<br><br><div id="result" style="left: 1%; position: relative; background-color:#2c2d3a; border-radius: 25px; min-width:300px; max-width:950px; height:300px; box-shadow: 0 10px 20px -10px rgba(0,0,0, 0.6);">
246246
<div style="position: relative; top: 50%; transform: translateY(-50%);">
247247
<h2 align="center" style="color:white">Result:</h2>
248248
@if($custom_css === "")

0 commit comments

Comments
 (0)