Changed document.ready to turbolinks:load (#362)

This commit is contained in:
farhatahmad 2019-02-06 13:28:21 -05:00 committed by Jesus Federico
parent 9883616f9c
commit 5a7c3133da
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License along
// with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
$(document).ready(function() {
$(document).on('turbolinks:load', function(){
$("#cookies-agree-button").click(function() {
//create a cookie that lasts 1 year
var cookieDate = new Date();