misc: use a simple link for help (#13013)

This commit is contained in:
Frédéric Péters 2016-09-01 18:14:55 +02:00
parent 23bcbab675
commit 759cd4301f
1 changed files with 0 additions and 11 deletions

View File

@ -1,15 +1,4 @@
$(function() {
$('.ui-help a').click(function() {
var base_url = $(this).attr('href');
var dialog = $('<div id="yelp"><iframe src="' + base_url + '"></iframe></div>').dialog({
modal: true,
resizable: false,
position: {my: "right top", at: "right top"},
title: '',
width: '50%'});
$(dialog).css('height', ($(window).height() - 80) + 'px');
return false;
});
$('.foldable').click(function() {
$(this).toggleClass('folded').next().toggle();
$(this).next().find('.qommon-map').trigger('qommon:invalidate');