@ -68,6 +68,14 @@ h6 {
<style>
nav { background: url(@Startup.SiteSetup.Banner) 0% 50% no-repeat; }
</style>
<script>
$(document).ready(function() {
if (typeof allowCircleToBlog !== "undefined") {
$('input.Blogcirle[type=checkbox]').on('change', allowCircleToBlog);
}
});
</script>
@RenderSection("header", required: false)
</head>
<body>
@ -1,5 +1,4 @@
+(function($) {
var allowCircleToBlog = function(e) {
var allow = $(this).prop('checked');
var circleid = $(this).data('circle-id');
var targetid = $(this).data('target-id');
@ -20,8 +19,4 @@
e.preventDefault();
};
})(jQuery);