vishnukottala / flexpaper

Automatically exported from code.google.com/p/flexpaper
0 stars 0 forks source link

Flexpaper.js error detecting css directory #381

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
function detectcssdir(){
    if($('link[href$="flexpaper.css"]').length>0) {
        return $('link[href$="flexpaper.css"]').attr('href').replace('flexpaper.css','');
    }else{
        return "css/"
    }
}

instead of the

function detectcssdir(){
    if(jQuery('script[src$="flexpaper.css"]').length>0){
        return jQuery('link[href="flexpaper.css"]').href('src').replace('flexpaper.css','');
    }else{
        return "css/"
    }
}

Original issue reported on code.google.com by lubenhal...@gmail.com on 30 May 2013 at 6:50

GoogleCodeExporter commented 9 years ago
Fixed in our dev branch. Thanks for the heads up.

Original comment by erik.eng...@devaldi.com on 9 Jun 2013 at 9:16