I wonder why this minus (-) on one place is able to hide the content while the others unable to hide the content, like nothing happen. It has the same codes. You can check the button simulation in : http://fresway.com/ on the right top corner of the articles.
apages.blade.php
@extends('home')
...
<a class="plus-minus-toggeler"><span class="glyphicon glyphicon-minus"></span></a>
<div class="backend-box _grey backend-box-email">
articles.blade.php
@extends('home')
...
<a class="plus-minus-toggeler"><span class="glyphicon glyphicon-minus"></span></a>
<div class="backend-box _grey backend-box-email">
This is part of the home blade in laravel.
home.blade.php
if (type == "article") {
$('.placeholder-second').hide();
$('.placeholder-first').hide();
$(".backend-box").hide();
$(".content-gallery ").hide();
$("#artikel_placeholder").show();
$(".placeholder-third").hide();
$(".plus-minus-toggeler:not(.dont-hide)").hide();
}
Any clue how to make the minus button works in apages.blade.php works? Like what js codes do I need to add?